_Zuruanov_I__ISP_33DataSet.Designer.cs 193 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан программой.
  4. // Исполняемая версия:4.0.30319.42000
  5. //
  6. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  7. // повторной генерации кода.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace form {
  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("_Zuruanov_I__ISP_33DataSet")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class _Zuruanov_I__ISP_33DataSet : global::System.Data.DataSet {
  22. private gfgfDataTable tablegfgf;
  23. private hhmhgmDataTable tablehhmhgm;
  24. private service_b_importDataTable tableservice_b_import;
  25. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  26. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  27. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  28. public _Zuruanov_I__ISP_33DataSet() {
  29. this.BeginInit();
  30. this.InitClass();
  31. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  32. base.Tables.CollectionChanged += schemaChangedHandler;
  33. base.Relations.CollectionChanged += schemaChangedHandler;
  34. this.EndInit();
  35. }
  36. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  37. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  38. protected _Zuruanov_I__ISP_33DataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  39. base(info, context, false) {
  40. if ((this.IsBinarySerialized(info, context) == true)) {
  41. this.InitVars(false);
  42. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  43. this.Tables.CollectionChanged += schemaChangedHandler1;
  44. this.Relations.CollectionChanged += schemaChangedHandler1;
  45. return;
  46. }
  47. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  48. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  49. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  50. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  51. if ((ds.Tables["gfgf"] != null)) {
  52. base.Tables.Add(new gfgfDataTable(ds.Tables["gfgf"]));
  53. }
  54. if ((ds.Tables["hhmhgm"] != null)) {
  55. base.Tables.Add(new hhmhgmDataTable(ds.Tables["hhmhgm"]));
  56. }
  57. if ((ds.Tables["service_b_import"] != null)) {
  58. base.Tables.Add(new service_b_importDataTable(ds.Tables["service_b_import"]));
  59. }
  60. this.DataSetName = ds.DataSetName;
  61. this.Prefix = ds.Prefix;
  62. this.Namespace = ds.Namespace;
  63. this.Locale = ds.Locale;
  64. this.CaseSensitive = ds.CaseSensitive;
  65. this.EnforceConstraints = ds.EnforceConstraints;
  66. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  67. this.InitVars();
  68. }
  69. else {
  70. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  71. }
  72. this.GetSerializationData(info, context);
  73. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  74. base.Tables.CollectionChanged += schemaChangedHandler;
  75. this.Relations.CollectionChanged += schemaChangedHandler;
  76. }
  77. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  78. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  79. [global::System.ComponentModel.Browsable(false)]
  80. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  81. public gfgfDataTable gfgf {
  82. get {
  83. return this.tablegfgf;
  84. }
  85. }
  86. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  87. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  88. [global::System.ComponentModel.Browsable(false)]
  89. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  90. public hhmhgmDataTable hhmhgm {
  91. get {
  92. return this.tablehhmhgm;
  93. }
  94. }
  95. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  96. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  97. [global::System.ComponentModel.Browsable(false)]
  98. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  99. public service_b_importDataTable service_b_import {
  100. get {
  101. return this.tableservice_b_import;
  102. }
  103. }
  104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  105. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  106. [global::System.ComponentModel.BrowsableAttribute(true)]
  107. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  108. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  109. get {
  110. return this._schemaSerializationMode;
  111. }
  112. set {
  113. this._schemaSerializationMode = value;
  114. }
  115. }
  116. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  117. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  118. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  119. public new global::System.Data.DataTableCollection Tables {
  120. get {
  121. return base.Tables;
  122. }
  123. }
  124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  125. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  126. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  127. public new global::System.Data.DataRelationCollection Relations {
  128. get {
  129. return base.Relations;
  130. }
  131. }
  132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  133. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  134. protected override void InitializeDerivedDataSet() {
  135. this.BeginInit();
  136. this.InitClass();
  137. this.EndInit();
  138. }
  139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  140. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  141. public override global::System.Data.DataSet Clone() {
  142. _Zuruanov_I__ISP_33DataSet cln = ((_Zuruanov_I__ISP_33DataSet)(base.Clone()));
  143. cln.InitVars();
  144. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  145. return cln;
  146. }
  147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  148. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  149. protected override bool ShouldSerializeTables() {
  150. return false;
  151. }
  152. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  153. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  154. protected override bool ShouldSerializeRelations() {
  155. return false;
  156. }
  157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  158. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  159. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  160. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  161. this.Reset();
  162. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  163. ds.ReadXml(reader);
  164. if ((ds.Tables["gfgf"] != null)) {
  165. base.Tables.Add(new gfgfDataTable(ds.Tables["gfgf"]));
  166. }
  167. if ((ds.Tables["hhmhgm"] != null)) {
  168. base.Tables.Add(new hhmhgmDataTable(ds.Tables["hhmhgm"]));
  169. }
  170. if ((ds.Tables["service_b_import"] != null)) {
  171. base.Tables.Add(new service_b_importDataTable(ds.Tables["service_b_import"]));
  172. }
  173. this.DataSetName = ds.DataSetName;
  174. this.Prefix = ds.Prefix;
  175. this.Namespace = ds.Namespace;
  176. this.Locale = ds.Locale;
  177. this.CaseSensitive = ds.CaseSensitive;
  178. this.EnforceConstraints = ds.EnforceConstraints;
  179. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  180. this.InitVars();
  181. }
  182. else {
  183. this.ReadXml(reader);
  184. this.InitVars();
  185. }
  186. }
  187. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  188. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  189. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  190. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  191. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  192. stream.Position = 0;
  193. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  194. }
  195. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  196. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  197. internal void InitVars() {
  198. this.InitVars(true);
  199. }
  200. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  201. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  202. internal void InitVars(bool initTable) {
  203. this.tablegfgf = ((gfgfDataTable)(base.Tables["gfgf"]));
  204. if ((initTable == true)) {
  205. if ((this.tablegfgf != null)) {
  206. this.tablegfgf.InitVars();
  207. }
  208. }
  209. this.tablehhmhgm = ((hhmhgmDataTable)(base.Tables["hhmhgm"]));
  210. if ((initTable == true)) {
  211. if ((this.tablehhmhgm != null)) {
  212. this.tablehhmhgm.InitVars();
  213. }
  214. }
  215. this.tableservice_b_import = ((service_b_importDataTable)(base.Tables["service_b_import"]));
  216. if ((initTable == true)) {
  217. if ((this.tableservice_b_import != null)) {
  218. this.tableservice_b_import.InitVars();
  219. }
  220. }
  221. }
  222. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  223. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  224. private void InitClass() {
  225. this.DataSetName = "_Zuruanov_I__ISP_33DataSet";
  226. this.Prefix = "";
  227. this.Namespace = "http://tempuri.org/_Zuruanov_I__ISP_33DataSet.xsd";
  228. this.EnforceConstraints = true;
  229. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  230. this.tablegfgf = new gfgfDataTable();
  231. base.Tables.Add(this.tablegfgf);
  232. this.tablehhmhgm = new hhmhgmDataTable();
  233. base.Tables.Add(this.tablehhmhgm);
  234. this.tableservice_b_import = new service_b_importDataTable();
  235. base.Tables.Add(this.tableservice_b_import);
  236. }
  237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  238. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  239. private bool ShouldSerializegfgf() {
  240. return false;
  241. }
  242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  243. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  244. private bool ShouldSerializehhmhgm() {
  245. return false;
  246. }
  247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  248. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  249. private bool ShouldSerializeservice_b_import() {
  250. return false;
  251. }
  252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  253. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  254. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  255. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  256. this.InitVars();
  257. }
  258. }
  259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  261. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  262. _Zuruanov_I__ISP_33DataSet ds = new _Zuruanov_I__ISP_33DataSet();
  263. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  264. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  265. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  266. any.Namespace = ds.Namespace;
  267. sequence.Items.Add(any);
  268. type.Particle = sequence;
  269. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  270. if (xs.Contains(dsSchema.TargetNamespace)) {
  271. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  272. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  273. try {
  274. global::System.Xml.Schema.XmlSchema schema = null;
  275. dsSchema.Write(s1);
  276. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  277. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  278. s2.SetLength(0);
  279. schema.Write(s2);
  280. if ((s1.Length == s2.Length)) {
  281. s1.Position = 0;
  282. s2.Position = 0;
  283. for (; ((s1.Position != s1.Length)
  284. && (s1.ReadByte() == s2.ReadByte())); ) {
  285. ;
  286. }
  287. if ((s1.Position == s1.Length)) {
  288. return type;
  289. }
  290. }
  291. }
  292. }
  293. finally {
  294. if ((s1 != null)) {
  295. s1.Close();
  296. }
  297. if ((s2 != null)) {
  298. s2.Close();
  299. }
  300. }
  301. }
  302. xs.Add(dsSchema);
  303. return type;
  304. }
  305. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  306. public delegate void gfgfRowChangeEventHandler(object sender, gfgfRowChangeEvent e);
  307. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  308. public delegate void hhmhgmRowChangeEventHandler(object sender, hhmhgmRowChangeEvent e);
  309. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  310. public delegate void service_b_importRowChangeEventHandler(object sender, service_b_importRowChangeEvent e);
  311. /// <summary>
  312. ///Represents the strongly named DataTable class.
  313. ///</summary>
  314. [global::System.Serializable()]
  315. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  316. public partial class gfgfDataTable : global::System.Data.TypedTableBase<gfgfRow> {
  317. private global::System.Data.DataColumn columnФамилия;
  318. private global::System.Data.DataColumn columnИмя;
  319. private global::System.Data.DataColumn columnОтчество;
  320. private global::System.Data.DataColumn columnПол;
  321. private global::System.Data.DataColumn columnТелефон;
  322. private global::System.Data.DataColumn columnДата_рождения;
  323. private global::System.Data.DataColumn columnEmail;
  324. private global::System.Data.DataColumn columnДата_регистрации;
  325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  326. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  327. public gfgfDataTable() {
  328. this.TableName = "gfgf";
  329. this.BeginInit();
  330. this.InitClass();
  331. this.EndInit();
  332. }
  333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  334. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  335. internal gfgfDataTable(global::System.Data.DataTable table) {
  336. this.TableName = table.TableName;
  337. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  338. this.CaseSensitive = table.CaseSensitive;
  339. }
  340. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  341. this.Locale = table.Locale;
  342. }
  343. if ((table.Namespace != table.DataSet.Namespace)) {
  344. this.Namespace = table.Namespace;
  345. }
  346. this.Prefix = table.Prefix;
  347. this.MinimumCapacity = table.MinimumCapacity;
  348. }
  349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  350. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  351. protected gfgfDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  352. base(info, context) {
  353. this.InitVars();
  354. }
  355. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  356. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  357. public global::System.Data.DataColumn ФамилияColumn {
  358. get {
  359. return this.columnФамилия;
  360. }
  361. }
  362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  363. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  364. public global::System.Data.DataColumn ИмяColumn {
  365. get {
  366. return this.columnИмя;
  367. }
  368. }
  369. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  370. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  371. public global::System.Data.DataColumn ОтчествоColumn {
  372. get {
  373. return this.columnОтчество;
  374. }
  375. }
  376. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  377. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  378. public global::System.Data.DataColumn ПолColumn {
  379. get {
  380. return this.columnПол;
  381. }
  382. }
  383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  384. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  385. public global::System.Data.DataColumn ТелефонColumn {
  386. get {
  387. return this.columnТелефон;
  388. }
  389. }
  390. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  391. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  392. public global::System.Data.DataColumn Дата_рожденияColumn {
  393. get {
  394. return this.columnДата_рождения;
  395. }
  396. }
  397. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  398. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  399. public global::System.Data.DataColumn EmailColumn {
  400. get {
  401. return this.columnEmail;
  402. }
  403. }
  404. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  405. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  406. public global::System.Data.DataColumn Дата_регистрацииColumn {
  407. get {
  408. return this.columnДата_регистрации;
  409. }
  410. }
  411. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  412. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  413. [global::System.ComponentModel.Browsable(false)]
  414. public int Count {
  415. get {
  416. return this.Rows.Count;
  417. }
  418. }
  419. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  420. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  421. public gfgfRow this[int index] {
  422. get {
  423. return ((gfgfRow)(this.Rows[index]));
  424. }
  425. }
  426. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  427. public event gfgfRowChangeEventHandler gfgfRowChanging;
  428. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  429. public event gfgfRowChangeEventHandler gfgfRowChanged;
  430. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  431. public event gfgfRowChangeEventHandler gfgfRowDeleting;
  432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  433. public event gfgfRowChangeEventHandler gfgfRowDeleted;
  434. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  435. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  436. public void AddgfgfRow(gfgfRow row) {
  437. this.Rows.Add(row);
  438. }
  439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  440. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  441. public gfgfRow AddgfgfRow(string Фамилия, string Имя, string Отчество, string Пол, string Телефон, System.DateTime Дата_рождения, string Email, System.DateTime Дата_регистрации) {
  442. gfgfRow rowgfgfRow = ((gfgfRow)(this.NewRow()));
  443. object[] columnValuesArray = new object[] {
  444. Фамилия,
  445. Имя,
  446. Отчество,
  447. Пол,
  448. Телефон,
  449. Дата_рождения,
  450. Email,
  451. Дата_регистрации};
  452. rowgfgfRow.ItemArray = columnValuesArray;
  453. this.Rows.Add(rowgfgfRow);
  454. return rowgfgfRow;
  455. }
  456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  457. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  458. public gfgfRow FindByФамилия(string Фамилия) {
  459. return ((gfgfRow)(this.Rows.Find(new object[] {
  460. Фамилия})));
  461. }
  462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  463. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  464. public override global::System.Data.DataTable Clone() {
  465. gfgfDataTable cln = ((gfgfDataTable)(base.Clone()));
  466. cln.InitVars();
  467. return cln;
  468. }
  469. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  470. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  471. protected override global::System.Data.DataTable CreateInstance() {
  472. return new gfgfDataTable();
  473. }
  474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  476. internal void InitVars() {
  477. this.columnФамилия = base.Columns["Фамилия"];
  478. this.columnИмя = base.Columns["Имя"];
  479. this.columnОтчество = base.Columns["Отчество"];
  480. this.columnПол = base.Columns["Пол"];
  481. this.columnТелефон = base.Columns["Телефон"];
  482. this.columnДата_рождения = base.Columns["Дата_рождения"];
  483. this.columnEmail = base.Columns["Email"];
  484. this.columnДата_регистрации = base.Columns["Дата_регистрации"];
  485. }
  486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  487. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  488. private void InitClass() {
  489. this.columnФамилия = new global::System.Data.DataColumn("Фамилия", typeof(string), null, global::System.Data.MappingType.Element);
  490. base.Columns.Add(this.columnФамилия);
  491. this.columnИмя = new global::System.Data.DataColumn("Имя", typeof(string), null, global::System.Data.MappingType.Element);
  492. base.Columns.Add(this.columnИмя);
  493. this.columnОтчество = new global::System.Data.DataColumn("Отчество", typeof(string), null, global::System.Data.MappingType.Element);
  494. base.Columns.Add(this.columnОтчество);
  495. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  496. base.Columns.Add(this.columnПол);
  497. this.columnТелефон = new global::System.Data.DataColumn("Телефон", typeof(string), null, global::System.Data.MappingType.Element);
  498. base.Columns.Add(this.columnТелефон);
  499. this.columnДата_рождения = new global::System.Data.DataColumn("Дата_рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  500. base.Columns.Add(this.columnДата_рождения);
  501. this.columnEmail = new global::System.Data.DataColumn("Email", typeof(string), null, global::System.Data.MappingType.Element);
  502. base.Columns.Add(this.columnEmail);
  503. this.columnДата_регистрации = new global::System.Data.DataColumn("Дата_регистрации", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  504. base.Columns.Add(this.columnДата_регистрации);
  505. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  506. this.columnФамилия}, true));
  507. this.columnФамилия.AllowDBNull = false;
  508. this.columnФамилия.Unique = true;
  509. this.columnФамилия.MaxLength = 50;
  510. this.columnИмя.MaxLength = 50;
  511. this.columnОтчество.MaxLength = 50;
  512. this.columnПол.AllowDBNull = false;
  513. this.columnПол.MaxLength = 50;
  514. this.columnТелефон.AllowDBNull = false;
  515. this.columnТелефон.MaxLength = 50;
  516. this.columnДата_рождения.AllowDBNull = false;
  517. this.columnEmail.AllowDBNull = false;
  518. this.columnEmail.MaxLength = 50;
  519. this.columnДата_регистрации.AllowDBNull = false;
  520. }
  521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  522. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  523. public gfgfRow NewgfgfRow() {
  524. return ((gfgfRow)(this.NewRow()));
  525. }
  526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  527. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  528. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  529. return new gfgfRow(builder);
  530. }
  531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  532. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  533. protected override global::System.Type GetRowType() {
  534. return typeof(gfgfRow);
  535. }
  536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  538. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  539. base.OnRowChanged(e);
  540. if ((this.gfgfRowChanged != null)) {
  541. this.gfgfRowChanged(this, new gfgfRowChangeEvent(((gfgfRow)(e.Row)), e.Action));
  542. }
  543. }
  544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  545. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  546. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  547. base.OnRowChanging(e);
  548. if ((this.gfgfRowChanging != null)) {
  549. this.gfgfRowChanging(this, new gfgfRowChangeEvent(((gfgfRow)(e.Row)), e.Action));
  550. }
  551. }
  552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  554. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  555. base.OnRowDeleted(e);
  556. if ((this.gfgfRowDeleted != null)) {
  557. this.gfgfRowDeleted(this, new gfgfRowChangeEvent(((gfgfRow)(e.Row)), e.Action));
  558. }
  559. }
  560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  561. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  562. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  563. base.OnRowDeleting(e);
  564. if ((this.gfgfRowDeleting != null)) {
  565. this.gfgfRowDeleting(this, new gfgfRowChangeEvent(((gfgfRow)(e.Row)), e.Action));
  566. }
  567. }
  568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  570. public void RemovegfgfRow(gfgfRow row) {
  571. this.Rows.Remove(row);
  572. }
  573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  575. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  576. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  577. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  578. _Zuruanov_I__ISP_33DataSet ds = new _Zuruanov_I__ISP_33DataSet();
  579. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  580. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  581. any1.MinOccurs = new decimal(0);
  582. any1.MaxOccurs = decimal.MaxValue;
  583. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  584. sequence.Items.Add(any1);
  585. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  586. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  587. any2.MinOccurs = new decimal(1);
  588. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  589. sequence.Items.Add(any2);
  590. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  591. attribute1.Name = "namespace";
  592. attribute1.FixedValue = ds.Namespace;
  593. type.Attributes.Add(attribute1);
  594. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  595. attribute2.Name = "tableTypeName";
  596. attribute2.FixedValue = "gfgfDataTable";
  597. type.Attributes.Add(attribute2);
  598. type.Particle = sequence;
  599. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  600. if (xs.Contains(dsSchema.TargetNamespace)) {
  601. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  602. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  603. try {
  604. global::System.Xml.Schema.XmlSchema schema = null;
  605. dsSchema.Write(s1);
  606. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  607. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  608. s2.SetLength(0);
  609. schema.Write(s2);
  610. if ((s1.Length == s2.Length)) {
  611. s1.Position = 0;
  612. s2.Position = 0;
  613. for (; ((s1.Position != s1.Length)
  614. && (s1.ReadByte() == s2.ReadByte())); ) {
  615. ;
  616. }
  617. if ((s1.Position == s1.Length)) {
  618. return type;
  619. }
  620. }
  621. }
  622. }
  623. finally {
  624. if ((s1 != null)) {
  625. s1.Close();
  626. }
  627. if ((s2 != null)) {
  628. s2.Close();
  629. }
  630. }
  631. }
  632. xs.Add(dsSchema);
  633. return type;
  634. }
  635. }
  636. /// <summary>
  637. ///Represents the strongly named DataTable class.
  638. ///</summary>
  639. [global::System.Serializable()]
  640. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  641. public partial class hhmhgmDataTable : global::System.Data.TypedTableBase<hhmhgmRow> {
  642. private global::System.Data.DataColumn columnУслуга;
  643. private global::System.Data.DataColumn columnНачало_оказания_услуги;
  644. private global::System.Data.DataColumn columnКлиент;
  645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  646. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  647. public hhmhgmDataTable() {
  648. this.TableName = "hhmhgm";
  649. this.BeginInit();
  650. this.InitClass();
  651. this.EndInit();
  652. }
  653. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  654. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  655. internal hhmhgmDataTable(global::System.Data.DataTable table) {
  656. this.TableName = table.TableName;
  657. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  658. this.CaseSensitive = table.CaseSensitive;
  659. }
  660. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  661. this.Locale = table.Locale;
  662. }
  663. if ((table.Namespace != table.DataSet.Namespace)) {
  664. this.Namespace = table.Namespace;
  665. }
  666. this.Prefix = table.Prefix;
  667. this.MinimumCapacity = table.MinimumCapacity;
  668. }
  669. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  670. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  671. protected hhmhgmDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  672. base(info, context) {
  673. this.InitVars();
  674. }
  675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  676. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  677. public global::System.Data.DataColumn УслугаColumn {
  678. get {
  679. return this.columnУслуга;
  680. }
  681. }
  682. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  683. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  684. public global::System.Data.DataColumn Начало_оказания_услугиColumn {
  685. get {
  686. return this.columnНачало_оказания_услуги;
  687. }
  688. }
  689. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  690. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  691. public global::System.Data.DataColumn КлиентColumn {
  692. get {
  693. return this.columnКлиент;
  694. }
  695. }
  696. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  697. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  698. [global::System.ComponentModel.Browsable(false)]
  699. public int Count {
  700. get {
  701. return this.Rows.Count;
  702. }
  703. }
  704. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  705. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  706. public hhmhgmRow this[int index] {
  707. get {
  708. return ((hhmhgmRow)(this.Rows[index]));
  709. }
  710. }
  711. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  712. public event hhmhgmRowChangeEventHandler hhmhgmRowChanging;
  713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  714. public event hhmhgmRowChangeEventHandler hhmhgmRowChanged;
  715. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  716. public event hhmhgmRowChangeEventHandler hhmhgmRowDeleting;
  717. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  718. public event hhmhgmRowChangeEventHandler hhmhgmRowDeleted;
  719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  720. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  721. public void AddhhmhgmRow(hhmhgmRow row) {
  722. this.Rows.Add(row);
  723. }
  724. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  725. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  726. public hhmhgmRow AddhhmhgmRow(string Услуга, System.DateTime Начало_оказания_услуги, string Клиент) {
  727. hhmhgmRow rowhhmhgmRow = ((hhmhgmRow)(this.NewRow()));
  728. object[] columnValuesArray = new object[] {
  729. Услуга,
  730. Начало_оказания_услуги,
  731. Клиент};
  732. rowhhmhgmRow.ItemArray = columnValuesArray;
  733. this.Rows.Add(rowhhmhgmRow);
  734. return rowhhmhgmRow;
  735. }
  736. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  737. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  738. public override global::System.Data.DataTable Clone() {
  739. hhmhgmDataTable cln = ((hhmhgmDataTable)(base.Clone()));
  740. cln.InitVars();
  741. return cln;
  742. }
  743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  744. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  745. protected override global::System.Data.DataTable CreateInstance() {
  746. return new hhmhgmDataTable();
  747. }
  748. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  749. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  750. internal void InitVars() {
  751. this.columnУслуга = base.Columns["Услуга"];
  752. this.columnНачало_оказания_услуги = base.Columns["Начало_оказания_услуги"];
  753. this.columnКлиент = base.Columns["Клиент"];
  754. }
  755. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  756. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  757. private void InitClass() {
  758. this.columnУслуга = new global::System.Data.DataColumn("Услуга", typeof(string), null, global::System.Data.MappingType.Element);
  759. base.Columns.Add(this.columnУслуга);
  760. this.columnНачало_оказания_услуги = new global::System.Data.DataColumn("Начало_оказания_услуги", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  761. base.Columns.Add(this.columnНачало_оказания_услуги);
  762. this.columnКлиент = new global::System.Data.DataColumn("Клиент", typeof(string), null, global::System.Data.MappingType.Element);
  763. base.Columns.Add(this.columnКлиент);
  764. this.columnУслуга.AllowDBNull = false;
  765. this.columnУслуга.MaxLength = 50;
  766. this.columnНачало_оказания_услуги.AllowDBNull = false;
  767. this.columnКлиент.AllowDBNull = false;
  768. this.columnКлиент.MaxLength = 50;
  769. }
  770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  771. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  772. public hhmhgmRow NewhhmhgmRow() {
  773. return ((hhmhgmRow)(this.NewRow()));
  774. }
  775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  776. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  777. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  778. return new hhmhgmRow(builder);
  779. }
  780. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  781. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  782. protected override global::System.Type GetRowType() {
  783. return typeof(hhmhgmRow);
  784. }
  785. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  786. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  787. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  788. base.OnRowChanged(e);
  789. if ((this.hhmhgmRowChanged != null)) {
  790. this.hhmhgmRowChanged(this, new hhmhgmRowChangeEvent(((hhmhgmRow)(e.Row)), e.Action));
  791. }
  792. }
  793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  794. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  795. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  796. base.OnRowChanging(e);
  797. if ((this.hhmhgmRowChanging != null)) {
  798. this.hhmhgmRowChanging(this, new hhmhgmRowChangeEvent(((hhmhgmRow)(e.Row)), e.Action));
  799. }
  800. }
  801. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  802. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  803. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  804. base.OnRowDeleted(e);
  805. if ((this.hhmhgmRowDeleted != null)) {
  806. this.hhmhgmRowDeleted(this, new hhmhgmRowChangeEvent(((hhmhgmRow)(e.Row)), e.Action));
  807. }
  808. }
  809. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  810. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  811. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  812. base.OnRowDeleting(e);
  813. if ((this.hhmhgmRowDeleting != null)) {
  814. this.hhmhgmRowDeleting(this, new hhmhgmRowChangeEvent(((hhmhgmRow)(e.Row)), e.Action));
  815. }
  816. }
  817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  818. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  819. public void RemovehhmhgmRow(hhmhgmRow row) {
  820. this.Rows.Remove(row);
  821. }
  822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  823. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  824. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  825. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  826. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  827. _Zuruanov_I__ISP_33DataSet ds = new _Zuruanov_I__ISP_33DataSet();
  828. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  829. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  830. any1.MinOccurs = new decimal(0);
  831. any1.MaxOccurs = decimal.MaxValue;
  832. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  833. sequence.Items.Add(any1);
  834. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  835. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  836. any2.MinOccurs = new decimal(1);
  837. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  838. sequence.Items.Add(any2);
  839. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  840. attribute1.Name = "namespace";
  841. attribute1.FixedValue = ds.Namespace;
  842. type.Attributes.Add(attribute1);
  843. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  844. attribute2.Name = "tableTypeName";
  845. attribute2.FixedValue = "hhmhgmDataTable";
  846. type.Attributes.Add(attribute2);
  847. type.Particle = sequence;
  848. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  849. if (xs.Contains(dsSchema.TargetNamespace)) {
  850. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  851. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  852. try {
  853. global::System.Xml.Schema.XmlSchema schema = null;
  854. dsSchema.Write(s1);
  855. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  856. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  857. s2.SetLength(0);
  858. schema.Write(s2);
  859. if ((s1.Length == s2.Length)) {
  860. s1.Position = 0;
  861. s2.Position = 0;
  862. for (; ((s1.Position != s1.Length)
  863. && (s1.ReadByte() == s2.ReadByte())); ) {
  864. ;
  865. }
  866. if ((s1.Position == s1.Length)) {
  867. return type;
  868. }
  869. }
  870. }
  871. }
  872. finally {
  873. if ((s1 != null)) {
  874. s1.Close();
  875. }
  876. if ((s2 != null)) {
  877. s2.Close();
  878. }
  879. }
  880. }
  881. xs.Add(dsSchema);
  882. return type;
  883. }
  884. }
  885. /// <summary>
  886. ///Represents the strongly named DataTable class.
  887. ///</summary>
  888. [global::System.Serializable()]
  889. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  890. public partial class service_b_importDataTable : global::System.Data.TypedTableBase<service_b_importRow> {
  891. private global::System.Data.DataColumn columnНаименование_услуги;
  892. private global::System.Data.DataColumn columnГлавное_изображение;
  893. private global::System.Data.DataColumn columnДлительность;
  894. private global::System.Data.DataColumn columnСтоимость;
  895. private global::System.Data.DataColumn columnДействующая_скидка;
  896. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  897. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  898. public service_b_importDataTable() {
  899. this.TableName = "service_b_import";
  900. this.BeginInit();
  901. this.InitClass();
  902. this.EndInit();
  903. }
  904. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  905. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  906. internal service_b_importDataTable(global::System.Data.DataTable table) {
  907. this.TableName = table.TableName;
  908. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  909. this.CaseSensitive = table.CaseSensitive;
  910. }
  911. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  912. this.Locale = table.Locale;
  913. }
  914. if ((table.Namespace != table.DataSet.Namespace)) {
  915. this.Namespace = table.Namespace;
  916. }
  917. this.Prefix = table.Prefix;
  918. this.MinimumCapacity = table.MinimumCapacity;
  919. }
  920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  921. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  922. protected service_b_importDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  923. base(info, context) {
  924. this.InitVars();
  925. }
  926. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  927. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  928. public global::System.Data.DataColumn Наименование_услугиColumn {
  929. get {
  930. return this.columnНаименование_услуги;
  931. }
  932. }
  933. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  934. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  935. public global::System.Data.DataColumn Главное_изображениеColumn {
  936. get {
  937. return this.columnГлавное_изображение;
  938. }
  939. }
  940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  941. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  942. public global::System.Data.DataColumn ДлительностьColumn {
  943. get {
  944. return this.columnДлительность;
  945. }
  946. }
  947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  948. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  949. public global::System.Data.DataColumn СтоимостьColumn {
  950. get {
  951. return this.columnСтоимость;
  952. }
  953. }
  954. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  955. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  956. public global::System.Data.DataColumn Действующая_скидкаColumn {
  957. get {
  958. return this.columnДействующая_скидка;
  959. }
  960. }
  961. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  962. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  963. [global::System.ComponentModel.Browsable(false)]
  964. public int Count {
  965. get {
  966. return this.Rows.Count;
  967. }
  968. }
  969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  970. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  971. public service_b_importRow this[int index] {
  972. get {
  973. return ((service_b_importRow)(this.Rows[index]));
  974. }
  975. }
  976. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  977. public event service_b_importRowChangeEventHandler service_b_importRowChanging;
  978. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  979. public event service_b_importRowChangeEventHandler service_b_importRowChanged;
  980. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  981. public event service_b_importRowChangeEventHandler service_b_importRowDeleting;
  982. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  983. public event service_b_importRowChangeEventHandler service_b_importRowDeleted;
  984. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  985. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  986. public void Addservice_b_importRow(service_b_importRow row) {
  987. this.Rows.Add(row);
  988. }
  989. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  990. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  991. public service_b_importRow Addservice_b_importRow(string Наименование_услуги, string Главное_изображение, string Длительность, string Стоимость, string Действующая_скидка) {
  992. service_b_importRow rowservice_b_importRow = ((service_b_importRow)(this.NewRow()));
  993. object[] columnValuesArray = new object[] {
  994. Наименование_услуги,
  995. Главное_изображение,
  996. Длительность,
  997. Стоимость,
  998. Действующая_скидка};
  999. rowservice_b_importRow.ItemArray = columnValuesArray;
  1000. this.Rows.Add(rowservice_b_importRow);
  1001. return rowservice_b_importRow;
  1002. }
  1003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1004. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1005. public override global::System.Data.DataTable Clone() {
  1006. service_b_importDataTable cln = ((service_b_importDataTable)(base.Clone()));
  1007. cln.InitVars();
  1008. return cln;
  1009. }
  1010. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1011. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1012. protected override global::System.Data.DataTable CreateInstance() {
  1013. return new service_b_importDataTable();
  1014. }
  1015. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1016. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1017. internal void InitVars() {
  1018. this.columnНаименование_услуги = base.Columns["Наименование_услуги"];
  1019. this.columnГлавное_изображение = base.Columns["Главное_изображение"];
  1020. this.columnДлительность = base.Columns["Длительность"];
  1021. this.columnСтоимость = base.Columns["Стоимость"];
  1022. this.columnДействующая_скидка = base.Columns["Действующая_скидка"];
  1023. }
  1024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1025. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1026. private void InitClass() {
  1027. this.columnНаименование_услуги = new global::System.Data.DataColumn("Наименование_услуги", typeof(string), null, global::System.Data.MappingType.Element);
  1028. base.Columns.Add(this.columnНаименование_услуги);
  1029. this.columnГлавное_изображение = new global::System.Data.DataColumn("Главное_изображение", typeof(string), null, global::System.Data.MappingType.Element);
  1030. base.Columns.Add(this.columnГлавное_изображение);
  1031. this.columnДлительность = new global::System.Data.DataColumn("Длительность", typeof(string), null, global::System.Data.MappingType.Element);
  1032. base.Columns.Add(this.columnДлительность);
  1033. this.columnСтоимость = new global::System.Data.DataColumn("Стоимость", typeof(string), null, global::System.Data.MappingType.Element);
  1034. base.Columns.Add(this.columnСтоимость);
  1035. this.columnДействующая_скидка = new global::System.Data.DataColumn("Действующая_скидка", typeof(string), null, global::System.Data.MappingType.Element);
  1036. base.Columns.Add(this.columnДействующая_скидка);
  1037. this.columnНаименование_услуги.AllowDBNull = false;
  1038. this.columnНаименование_услуги.MaxLength = 50;
  1039. this.columnГлавное_изображение.AllowDBNull = false;
  1040. this.columnГлавное_изображение.MaxLength = 100;
  1041. this.columnДлительность.AllowDBNull = false;
  1042. this.columnДлительность.MaxLength = 50;
  1043. this.columnСтоимость.AllowDBNull = false;
  1044. this.columnСтоимость.MaxLength = 50;
  1045. this.columnДействующая_скидка.AllowDBNull = false;
  1046. this.columnДействующая_скидка.MaxLength = 50;
  1047. }
  1048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1049. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1050. public service_b_importRow Newservice_b_importRow() {
  1051. return ((service_b_importRow)(this.NewRow()));
  1052. }
  1053. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1054. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1055. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1056. return new service_b_importRow(builder);
  1057. }
  1058. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1059. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1060. protected override global::System.Type GetRowType() {
  1061. return typeof(service_b_importRow);
  1062. }
  1063. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1064. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1065. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1066. base.OnRowChanged(e);
  1067. if ((this.service_b_importRowChanged != null)) {
  1068. this.service_b_importRowChanged(this, new service_b_importRowChangeEvent(((service_b_importRow)(e.Row)), e.Action));
  1069. }
  1070. }
  1071. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1072. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1073. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1074. base.OnRowChanging(e);
  1075. if ((this.service_b_importRowChanging != null)) {
  1076. this.service_b_importRowChanging(this, new service_b_importRowChangeEvent(((service_b_importRow)(e.Row)), e.Action));
  1077. }
  1078. }
  1079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1080. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1081. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1082. base.OnRowDeleted(e);
  1083. if ((this.service_b_importRowDeleted != null)) {
  1084. this.service_b_importRowDeleted(this, new service_b_importRowChangeEvent(((service_b_importRow)(e.Row)), e.Action));
  1085. }
  1086. }
  1087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1088. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1089. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1090. base.OnRowDeleting(e);
  1091. if ((this.service_b_importRowDeleting != null)) {
  1092. this.service_b_importRowDeleting(this, new service_b_importRowChangeEvent(((service_b_importRow)(e.Row)), e.Action));
  1093. }
  1094. }
  1095. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1096. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1097. public void Removeservice_b_importRow(service_b_importRow row) {
  1098. this.Rows.Remove(row);
  1099. }
  1100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1101. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1102. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1103. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1104. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1105. _Zuruanov_I__ISP_33DataSet ds = new _Zuruanov_I__ISP_33DataSet();
  1106. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1107. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1108. any1.MinOccurs = new decimal(0);
  1109. any1.MaxOccurs = decimal.MaxValue;
  1110. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1111. sequence.Items.Add(any1);
  1112. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1113. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1114. any2.MinOccurs = new decimal(1);
  1115. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1116. sequence.Items.Add(any2);
  1117. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1118. attribute1.Name = "namespace";
  1119. attribute1.FixedValue = ds.Namespace;
  1120. type.Attributes.Add(attribute1);
  1121. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1122. attribute2.Name = "tableTypeName";
  1123. attribute2.FixedValue = "service_b_importDataTable";
  1124. type.Attributes.Add(attribute2);
  1125. type.Particle = sequence;
  1126. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1127. if (xs.Contains(dsSchema.TargetNamespace)) {
  1128. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1129. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1130. try {
  1131. global::System.Xml.Schema.XmlSchema schema = null;
  1132. dsSchema.Write(s1);
  1133. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1134. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1135. s2.SetLength(0);
  1136. schema.Write(s2);
  1137. if ((s1.Length == s2.Length)) {
  1138. s1.Position = 0;
  1139. s2.Position = 0;
  1140. for (; ((s1.Position != s1.Length)
  1141. && (s1.ReadByte() == s2.ReadByte())); ) {
  1142. ;
  1143. }
  1144. if ((s1.Position == s1.Length)) {
  1145. return type;
  1146. }
  1147. }
  1148. }
  1149. }
  1150. finally {
  1151. if ((s1 != null)) {
  1152. s1.Close();
  1153. }
  1154. if ((s2 != null)) {
  1155. s2.Close();
  1156. }
  1157. }
  1158. }
  1159. xs.Add(dsSchema);
  1160. return type;
  1161. }
  1162. }
  1163. /// <summary>
  1164. ///Represents strongly named DataRow class.
  1165. ///</summary>
  1166. public partial class gfgfRow : global::System.Data.DataRow {
  1167. private gfgfDataTable tablegfgf;
  1168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1170. internal gfgfRow(global::System.Data.DataRowBuilder rb) :
  1171. base(rb) {
  1172. this.tablegfgf = ((gfgfDataTable)(this.Table));
  1173. }
  1174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1175. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1176. public string Фамилия {
  1177. get {
  1178. return ((string)(this[this.tablegfgf.ФамилияColumn]));
  1179. }
  1180. set {
  1181. this[this.tablegfgf.ФамилияColumn] = value;
  1182. }
  1183. }
  1184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1185. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1186. public string Имя {
  1187. get {
  1188. try {
  1189. return ((string)(this[this.tablegfgf.ИмяColumn]));
  1190. }
  1191. catch (global::System.InvalidCastException e) {
  1192. throw new global::System.Data.StrongTypingException("Значение для столбца \'Имя\' в таблице \'gfgf\' равно DBNull.", e);
  1193. }
  1194. }
  1195. set {
  1196. this[this.tablegfgf.ИмяColumn] = value;
  1197. }
  1198. }
  1199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1201. public string Отчество {
  1202. get {
  1203. try {
  1204. return ((string)(this[this.tablegfgf.ОтчествоColumn]));
  1205. }
  1206. catch (global::System.InvalidCastException e) {
  1207. throw new global::System.Data.StrongTypingException("Значение для столбца \'Отчество\' в таблице \'gfgf\' равно DBNull.", e);
  1208. }
  1209. }
  1210. set {
  1211. this[this.tablegfgf.ОтчествоColumn] = value;
  1212. }
  1213. }
  1214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1215. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1216. public string Пол {
  1217. get {
  1218. return ((string)(this[this.tablegfgf.ПолColumn]));
  1219. }
  1220. set {
  1221. this[this.tablegfgf.ПолColumn] = value;
  1222. }
  1223. }
  1224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1225. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1226. public string Телефон {
  1227. get {
  1228. return ((string)(this[this.tablegfgf.ТелефонColumn]));
  1229. }
  1230. set {
  1231. this[this.tablegfgf.ТелефонColumn] = value;
  1232. }
  1233. }
  1234. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1235. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1236. public System.DateTime Дата_рождения {
  1237. get {
  1238. return ((global::System.DateTime)(this[this.tablegfgf.Дата_рожденияColumn]));
  1239. }
  1240. set {
  1241. this[this.tablegfgf.Дата_рожденияColumn] = value;
  1242. }
  1243. }
  1244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1245. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1246. public string Email {
  1247. get {
  1248. return ((string)(this[this.tablegfgf.EmailColumn]));
  1249. }
  1250. set {
  1251. this[this.tablegfgf.EmailColumn] = value;
  1252. }
  1253. }
  1254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1255. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1256. public System.DateTime Дата_регистрации {
  1257. get {
  1258. return ((global::System.DateTime)(this[this.tablegfgf.Дата_регистрацииColumn]));
  1259. }
  1260. set {
  1261. this[this.tablegfgf.Дата_регистрацииColumn] = value;
  1262. }
  1263. }
  1264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1266. public bool IsИмяNull() {
  1267. return this.IsNull(this.tablegfgf.ИмяColumn);
  1268. }
  1269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1270. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1271. public void SetИмяNull() {
  1272. this[this.tablegfgf.ИмяColumn] = global::System.Convert.DBNull;
  1273. }
  1274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1275. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1276. public bool IsОтчествоNull() {
  1277. return this.IsNull(this.tablegfgf.ОтчествоColumn);
  1278. }
  1279. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1280. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1281. public void SetОтчествоNull() {
  1282. this[this.tablegfgf.ОтчествоColumn] = global::System.Convert.DBNull;
  1283. }
  1284. }
  1285. /// <summary>
  1286. ///Represents strongly named DataRow class.
  1287. ///</summary>
  1288. public partial class hhmhgmRow : global::System.Data.DataRow {
  1289. private hhmhgmDataTable tablehhmhgm;
  1290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1291. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1292. internal hhmhgmRow(global::System.Data.DataRowBuilder rb) :
  1293. base(rb) {
  1294. this.tablehhmhgm = ((hhmhgmDataTable)(this.Table));
  1295. }
  1296. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1297. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1298. public string Услуга {
  1299. get {
  1300. return ((string)(this[this.tablehhmhgm.УслугаColumn]));
  1301. }
  1302. set {
  1303. this[this.tablehhmhgm.УслугаColumn] = value;
  1304. }
  1305. }
  1306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1307. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1308. public System.DateTime Начало_оказания_услуги {
  1309. get {
  1310. return ((global::System.DateTime)(this[this.tablehhmhgm.Начало_оказания_услугиColumn]));
  1311. }
  1312. set {
  1313. this[this.tablehhmhgm.Начало_оказания_услугиColumn] = value;
  1314. }
  1315. }
  1316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1317. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1318. public string Клиент {
  1319. get {
  1320. return ((string)(this[this.tablehhmhgm.КлиентColumn]));
  1321. }
  1322. set {
  1323. this[this.tablehhmhgm.КлиентColumn] = value;
  1324. }
  1325. }
  1326. }
  1327. /// <summary>
  1328. ///Represents strongly named DataRow class.
  1329. ///</summary>
  1330. public partial class service_b_importRow : global::System.Data.DataRow {
  1331. private service_b_importDataTable tableservice_b_import;
  1332. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1333. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1334. internal service_b_importRow(global::System.Data.DataRowBuilder rb) :
  1335. base(rb) {
  1336. this.tableservice_b_import = ((service_b_importDataTable)(this.Table));
  1337. }
  1338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1339. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1340. public string Наименование_услуги {
  1341. get {
  1342. return ((string)(this[this.tableservice_b_import.Наименование_услугиColumn]));
  1343. }
  1344. set {
  1345. this[this.tableservice_b_import.Наименование_услугиColumn] = value;
  1346. }
  1347. }
  1348. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1349. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1350. public string Главное_изображение {
  1351. get {
  1352. return ((string)(this[this.tableservice_b_import.Главное_изображениеColumn]));
  1353. }
  1354. set {
  1355. this[this.tableservice_b_import.Главное_изображениеColumn] = value;
  1356. }
  1357. }
  1358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1359. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1360. public string Длительность {
  1361. get {
  1362. return ((string)(this[this.tableservice_b_import.ДлительностьColumn]));
  1363. }
  1364. set {
  1365. this[this.tableservice_b_import.ДлительностьColumn] = value;
  1366. }
  1367. }
  1368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1369. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1370. public string Стоимость {
  1371. get {
  1372. return ((string)(this[this.tableservice_b_import.СтоимостьColumn]));
  1373. }
  1374. set {
  1375. this[this.tableservice_b_import.СтоимостьColumn] = value;
  1376. }
  1377. }
  1378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1379. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1380. public string Действующая_скидка {
  1381. get {
  1382. return ((string)(this[this.tableservice_b_import.Действующая_скидкаColumn]));
  1383. }
  1384. set {
  1385. this[this.tableservice_b_import.Действующая_скидкаColumn] = value;
  1386. }
  1387. }
  1388. }
  1389. /// <summary>
  1390. ///Row event argument class
  1391. ///</summary>
  1392. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1393. public class gfgfRowChangeEvent : global::System.EventArgs {
  1394. private gfgfRow eventRow;
  1395. private global::System.Data.DataRowAction eventAction;
  1396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1397. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1398. public gfgfRowChangeEvent(gfgfRow row, global::System.Data.DataRowAction action) {
  1399. this.eventRow = row;
  1400. this.eventAction = action;
  1401. }
  1402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1403. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1404. public gfgfRow Row {
  1405. get {
  1406. return this.eventRow;
  1407. }
  1408. }
  1409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1410. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1411. public global::System.Data.DataRowAction Action {
  1412. get {
  1413. return this.eventAction;
  1414. }
  1415. }
  1416. }
  1417. /// <summary>
  1418. ///Row event argument class
  1419. ///</summary>
  1420. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1421. public class hhmhgmRowChangeEvent : global::System.EventArgs {
  1422. private hhmhgmRow eventRow;
  1423. private global::System.Data.DataRowAction eventAction;
  1424. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1425. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1426. public hhmhgmRowChangeEvent(hhmhgmRow row, global::System.Data.DataRowAction action) {
  1427. this.eventRow = row;
  1428. this.eventAction = action;
  1429. }
  1430. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1431. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1432. public hhmhgmRow Row {
  1433. get {
  1434. return this.eventRow;
  1435. }
  1436. }
  1437. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1438. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1439. public global::System.Data.DataRowAction Action {
  1440. get {
  1441. return this.eventAction;
  1442. }
  1443. }
  1444. }
  1445. /// <summary>
  1446. ///Row event argument class
  1447. ///</summary>
  1448. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1449. public class service_b_importRowChangeEvent : global::System.EventArgs {
  1450. private service_b_importRow eventRow;
  1451. private global::System.Data.DataRowAction eventAction;
  1452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1454. public service_b_importRowChangeEvent(service_b_importRow row, global::System.Data.DataRowAction action) {
  1455. this.eventRow = row;
  1456. this.eventAction = action;
  1457. }
  1458. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1459. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1460. public service_b_importRow Row {
  1461. get {
  1462. return this.eventRow;
  1463. }
  1464. }
  1465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1466. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1467. public global::System.Data.DataRowAction Action {
  1468. get {
  1469. return this.eventAction;
  1470. }
  1471. }
  1472. }
  1473. }
  1474. }
  1475. namespace form._Zuruanov_I__ISP_33DataSetTableAdapters {
  1476. /// <summary>
  1477. ///Represents the connection and commands used to retrieve and save data.
  1478. ///</summary>
  1479. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  1480. [global::System.ComponentModel.ToolboxItem(true)]
  1481. [global::System.ComponentModel.DataObjectAttribute(true)]
  1482. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  1483. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  1484. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1485. public partial class gfgfTableAdapter : global::System.ComponentModel.Component {
  1486. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  1487. private global::System.Data.SqlClient.SqlConnection _connection;
  1488. private global::System.Data.SqlClient.SqlTransaction _transaction;
  1489. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  1490. private bool _clearBeforeFill;
  1491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1492. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1493. public gfgfTableAdapter() {
  1494. this.ClearBeforeFill = true;
  1495. }
  1496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1498. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  1499. get {
  1500. if ((this._adapter == null)) {
  1501. this.InitAdapter();
  1502. }
  1503. return this._adapter;
  1504. }
  1505. }
  1506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1507. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1508. internal global::System.Data.SqlClient.SqlConnection Connection {
  1509. get {
  1510. if ((this._connection == null)) {
  1511. this.InitConnection();
  1512. }
  1513. return this._connection;
  1514. }
  1515. set {
  1516. this._connection = value;
  1517. if ((this.Adapter.InsertCommand != null)) {
  1518. this.Adapter.InsertCommand.Connection = value;
  1519. }
  1520. if ((this.Adapter.DeleteCommand != null)) {
  1521. this.Adapter.DeleteCommand.Connection = value;
  1522. }
  1523. if ((this.Adapter.UpdateCommand != null)) {
  1524. this.Adapter.UpdateCommand.Connection = value;
  1525. }
  1526. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  1527. if ((this.CommandCollection[i] != null)) {
  1528. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  1529. }
  1530. }
  1531. }
  1532. }
  1533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1534. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1535. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  1536. get {
  1537. return this._transaction;
  1538. }
  1539. set {
  1540. this._transaction = value;
  1541. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  1542. this.CommandCollection[i].Transaction = this._transaction;
  1543. }
  1544. if (((this.Adapter != null)
  1545. && (this.Adapter.DeleteCommand != null))) {
  1546. this.Adapter.DeleteCommand.Transaction = this._transaction;
  1547. }
  1548. if (((this.Adapter != null)
  1549. && (this.Adapter.InsertCommand != null))) {
  1550. this.Adapter.InsertCommand.Transaction = this._transaction;
  1551. }
  1552. if (((this.Adapter != null)
  1553. && (this.Adapter.UpdateCommand != null))) {
  1554. this.Adapter.UpdateCommand.Transaction = this._transaction;
  1555. }
  1556. }
  1557. }
  1558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1559. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1560. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  1561. get {
  1562. if ((this._commandCollection == null)) {
  1563. this.InitCommandCollection();
  1564. }
  1565. return this._commandCollection;
  1566. }
  1567. }
  1568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1570. public bool ClearBeforeFill {
  1571. get {
  1572. return this._clearBeforeFill;
  1573. }
  1574. set {
  1575. this._clearBeforeFill = value;
  1576. }
  1577. }
  1578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1579. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1580. private void InitAdapter() {
  1581. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  1582. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  1583. tableMapping.SourceTable = "Table";
  1584. tableMapping.DataSetTable = "gfgf";
  1585. tableMapping.ColumnMappings.Add("Фамилия", "Фамилия");
  1586. tableMapping.ColumnMappings.Add("Имя", "Имя");
  1587. tableMapping.ColumnMappings.Add("Отчество", "Отчество");
  1588. tableMapping.ColumnMappings.Add("Пол", "Пол");
  1589. tableMapping.ColumnMappings.Add("Телефон", "Телефон");
  1590. tableMapping.ColumnMappings.Add("Дата_рождения", "Дата_рождения");
  1591. tableMapping.ColumnMappings.Add("Email", "Email");
  1592. tableMapping.ColumnMappings.Add("Дата_регистрации", "Дата_регистрации");
  1593. this._adapter.TableMappings.Add(tableMapping);
  1594. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  1595. this._adapter.DeleteCommand.Connection = this.Connection;
  1596. this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[gfgf] WHERE (([Фамилия] = @Original_Фамилия) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Отчество = 1 AND [Отчество] IS NULL) OR ([Отчество] = @Original_Отчество)) AND ([Пол] = @Original_Пол) AND ([Телефон] = @Original_Телефон) AND ([Дата_рождения] = @Original_Дата_рождения) AND ([Email] = @Original_Email) AND ([Дата_регистрации] = @Original_Дата_регистрации))";
  1597. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  1598. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Фамилия", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Фамилия", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1599. 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, "", "", ""));
  1600. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Имя", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Имя", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1601. 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, "", "", ""));
  1602. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Отчество", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Отчество", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1603. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Пол", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Пол", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1604. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Телефон", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Телефон", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1605. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Дата_рождения", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата_рождения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1606. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1607. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Дата_регистрации", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата_регистрации", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1608. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  1609. this._adapter.InsertCommand.Connection = this.Connection;
  1610. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[gfgf] ([Фамилия], [Имя], [Отчество], [Пол], [Телефон], [Дата_рождения], [Email], [Дата_регистрации]) VALUES (@Фамилия, @Имя, @Отчество, @Пол, @Телефон, @Дата_рождения, @Email, @Дата_регистрации);
  1611. SELECT Фамилия, Имя, Отчество, Пол, Телефон, Дата_рождения, Email, Дата_регистрации FROM gfgf WHERE (Фамилия = @Фамилия)";
  1612. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  1613. 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, "", "", ""));
  1614. 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, "", "", ""));
  1615. 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, "", "", ""));
  1616. 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, "", "", ""));
  1617. 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, "", "", ""));
  1618. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_рождения", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата_рождения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  1619. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  1620. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_регистрации", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата_регистрации", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  1621. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  1622. this._adapter.UpdateCommand.Connection = this.Connection;
  1623. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[gfgf] SET [Фамилия] = @Фамилия, [Имя] = @Имя, [Отчество] = @Отчество, [Пол] = @Пол, [Телефон] = @Телефон, [Дата_рождения] = @Дата_рождения, [Email] = @Email, [Дата_регистрации] = @Дата_регистрации WHERE (([Фамилия] = @Original_Фамилия) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Отчество = 1 AND [Отчество] IS NULL) OR ([Отчество] = @Original_Отчество)) AND ([Пол] = @Original_Пол) AND ([Телефон] = @Original_Телефон) AND ([Дата_рождения] = @Original_Дата_рождения) AND ([Email] = @Original_Email) AND ([Дата_регистрации] = @Original_Дата_регистрации));
  1624. SELECT Фамилия, Имя, Отчество, Пол, Телефон, Дата_рождения, Email, Дата_регистрации FROM gfgf WHERE (Фамилия = @Фамилия)";
  1625. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  1626. 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, "", "", ""));
  1627. 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, "", "", ""));
  1628. 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, "", "", ""));
  1629. 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, "", "", ""));
  1630. 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, "", "", ""));
  1631. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_рождения", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата_рождения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  1632. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  1633. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_регистрации", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата_регистрации", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  1634. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Фамилия", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Фамилия", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1635. 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, "", "", ""));
  1636. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Имя", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Имя", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1637. 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, "", "", ""));
  1638. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Отчество", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Отчество", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1639. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Пол", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Пол", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1640. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Телефон", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Телефон", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1641. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Дата_рождения", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата_рождения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1642. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1643. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Дата_регистрации", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата_регистрации", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  1644. }
  1645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1646. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1647. private void InitConnection() {
  1648. this._connection = new global::System.Data.SqlClient.SqlConnection();
  1649. this._connection.ConnectionString = global::form.Properties.Settings.Default.Zuruanov_I__ISP_33ConnectionString;
  1650. }
  1651. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1652. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1653. private void InitCommandCollection() {
  1654. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  1655. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  1656. this._commandCollection[0].Connection = this.Connection;
  1657. this._commandCollection[0].CommandText = "SELECT Фамилия, Имя, Отчество, Пол, Телефон, Дата_рождения, Email, Дата_регистрац" +
  1658. "ии FROM dbo.gfgf";
  1659. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  1660. }
  1661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1662. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1663. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1664. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  1665. public virtual int Fill(_Zuruanov_I__ISP_33DataSet.gfgfDataTable dataTable) {
  1666. this.Adapter.SelectCommand = this.CommandCollection[0];
  1667. if ((this.ClearBeforeFill == true)) {
  1668. dataTable.Clear();
  1669. }
  1670. int returnValue = this.Adapter.Fill(dataTable);
  1671. return returnValue;
  1672. }
  1673. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1674. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1675. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1676. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  1677. public virtual _Zuruanov_I__ISP_33DataSet.gfgfDataTable GetData() {
  1678. this.Adapter.SelectCommand = this.CommandCollection[0];
  1679. _Zuruanov_I__ISP_33DataSet.gfgfDataTable dataTable = new _Zuruanov_I__ISP_33DataSet.gfgfDataTable();
  1680. this.Adapter.Fill(dataTable);
  1681. return dataTable;
  1682. }
  1683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1684. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1685. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1686. public virtual int Update(_Zuruanov_I__ISP_33DataSet.gfgfDataTable dataTable) {
  1687. return this.Adapter.Update(dataTable);
  1688. }
  1689. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1690. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1691. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1692. public virtual int Update(_Zuruanov_I__ISP_33DataSet dataSet) {
  1693. return this.Adapter.Update(dataSet, "gfgf");
  1694. }
  1695. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1696. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1697. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1698. public virtual int Update(global::System.Data.DataRow dataRow) {
  1699. return this.Adapter.Update(new global::System.Data.DataRow[] {
  1700. dataRow});
  1701. }
  1702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1703. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1704. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1705. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  1706. return this.Adapter.Update(dataRows);
  1707. }
  1708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1709. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1710. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1711. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  1712. public virtual int Delete(string Original_Фамилия, string Original_Имя, string Original_Отчество, string Original_Пол, string Original_Телефон, System.DateTime Original_Дата_рождения, string Original_Email, System.DateTime Original_Дата_регистрации) {
  1713. if ((Original_Фамилия == null)) {
  1714. throw new global::System.ArgumentNullException("Original_Фамилия");
  1715. }
  1716. else {
  1717. this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Фамилия));
  1718. }
  1719. if ((Original_Имя == null)) {
  1720. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  1721. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  1722. }
  1723. else {
  1724. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  1725. this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Имя));
  1726. }
  1727. if ((Original_Отчество == null)) {
  1728. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  1729. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  1730. }
  1731. else {
  1732. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  1733. this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Отчество));
  1734. }
  1735. if ((Original_Пол == null)) {
  1736. throw new global::System.ArgumentNullException("Original_Пол");
  1737. }
  1738. else {
  1739. this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Пол));
  1740. }
  1741. if ((Original_Телефон == null)) {
  1742. throw new global::System.ArgumentNullException("Original_Телефон");
  1743. }
  1744. else {
  1745. this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Телефон));
  1746. }
  1747. this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_Дата_рождения));
  1748. if ((Original_Email == null)) {
  1749. throw new global::System.ArgumentNullException("Original_Email");
  1750. }
  1751. else {
  1752. this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Email));
  1753. }
  1754. this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_Дата_регистрации));
  1755. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  1756. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  1757. != global::System.Data.ConnectionState.Open)) {
  1758. this.Adapter.DeleteCommand.Connection.Open();
  1759. }
  1760. try {
  1761. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  1762. return returnValue;
  1763. }
  1764. finally {
  1765. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  1766. this.Adapter.DeleteCommand.Connection.Close();
  1767. }
  1768. }
  1769. }
  1770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1771. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1772. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1773. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  1774. public virtual int Insert(string Фамилия, string Имя, string Отчество, string Пол, string Телефон, System.DateTime Дата_рождения, string Email, System.DateTime Дата_регистрации) {
  1775. if ((Фамилия == null)) {
  1776. throw new global::System.ArgumentNullException("Фамилия");
  1777. }
  1778. else {
  1779. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Фамилия));
  1780. }
  1781. if ((Имя == null)) {
  1782. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  1783. }
  1784. else {
  1785. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Имя));
  1786. }
  1787. if ((Отчество == null)) {
  1788. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  1789. }
  1790. else {
  1791. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Отчество));
  1792. }
  1793. if ((Пол == null)) {
  1794. throw new global::System.ArgumentNullException("Пол");
  1795. }
  1796. else {
  1797. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Пол));
  1798. }
  1799. if ((Телефон == null)) {
  1800. throw new global::System.ArgumentNullException("Телефон");
  1801. }
  1802. else {
  1803. this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Телефон));
  1804. }
  1805. this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(Дата_рождения));
  1806. if ((Email == null)) {
  1807. throw new global::System.ArgumentNullException("Email");
  1808. }
  1809. else {
  1810. this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Email));
  1811. }
  1812. this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(Дата_регистрации));
  1813. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  1814. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  1815. != global::System.Data.ConnectionState.Open)) {
  1816. this.Adapter.InsertCommand.Connection.Open();
  1817. }
  1818. try {
  1819. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  1820. return returnValue;
  1821. }
  1822. finally {
  1823. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  1824. this.Adapter.InsertCommand.Connection.Close();
  1825. }
  1826. }
  1827. }
  1828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1829. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1830. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1831. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  1832. public virtual int Update(
  1833. string Фамилия,
  1834. string Имя,
  1835. string Отчество,
  1836. string Пол,
  1837. string Телефон,
  1838. System.DateTime Дата_рождения,
  1839. string Email,
  1840. System.DateTime Дата_регистрации,
  1841. string Original_Фамилия,
  1842. string Original_Имя,
  1843. string Original_Отчество,
  1844. string Original_Пол,
  1845. string Original_Телефон,
  1846. System.DateTime Original_Дата_рождения,
  1847. string Original_Email,
  1848. System.DateTime Original_Дата_регистрации) {
  1849. if ((Фамилия == null)) {
  1850. throw new global::System.ArgumentNullException("Фамилия");
  1851. }
  1852. else {
  1853. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Фамилия));
  1854. }
  1855. if ((Имя == null)) {
  1856. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  1857. }
  1858. else {
  1859. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Имя));
  1860. }
  1861. if ((Отчество == null)) {
  1862. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  1863. }
  1864. else {
  1865. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Отчество));
  1866. }
  1867. if ((Пол == null)) {
  1868. throw new global::System.ArgumentNullException("Пол");
  1869. }
  1870. else {
  1871. this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Пол));
  1872. }
  1873. if ((Телефон == null)) {
  1874. throw new global::System.ArgumentNullException("Телефон");
  1875. }
  1876. else {
  1877. this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Телефон));
  1878. }
  1879. this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(Дата_рождения));
  1880. if ((Email == null)) {
  1881. throw new global::System.ArgumentNullException("Email");
  1882. }
  1883. else {
  1884. this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Email));
  1885. }
  1886. this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(Дата_регистрации));
  1887. if ((Original_Фамилия == null)) {
  1888. throw new global::System.ArgumentNullException("Original_Фамилия");
  1889. }
  1890. else {
  1891. this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Фамилия));
  1892. }
  1893. if ((Original_Имя == null)) {
  1894. this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
  1895. this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
  1896. }
  1897. else {
  1898. this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
  1899. this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Имя));
  1900. }
  1901. if ((Original_Отчество == null)) {
  1902. this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
  1903. this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
  1904. }
  1905. else {
  1906. this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
  1907. this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_Отчество));
  1908. }
  1909. if ((Original_Пол == null)) {
  1910. throw new global::System.ArgumentNullException("Original_Пол");
  1911. }
  1912. else {
  1913. this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Пол));
  1914. }
  1915. if ((Original_Телефон == null)) {
  1916. throw new global::System.ArgumentNullException("Original_Телефон");
  1917. }
  1918. else {
  1919. this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_Телефон));
  1920. }
  1921. this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_Дата_рождения));
  1922. if ((Original_Email == null)) {
  1923. throw new global::System.ArgumentNullException("Original_Email");
  1924. }
  1925. else {
  1926. this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_Email));
  1927. }
  1928. this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_Дата_регистрации));
  1929. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  1930. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  1931. != global::System.Data.ConnectionState.Open)) {
  1932. this.Adapter.UpdateCommand.Connection.Open();
  1933. }
  1934. try {
  1935. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  1936. return returnValue;
  1937. }
  1938. finally {
  1939. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  1940. this.Adapter.UpdateCommand.Connection.Close();
  1941. }
  1942. }
  1943. }
  1944. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1945. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1946. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1947. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  1948. public virtual int Update(string Имя, string Отчество, string Пол, string Телефон, System.DateTime Дата_рождения, string Email, System.DateTime Дата_регистрации, string Original_Фамилия, string Original_Имя, string Original_Отчество, string Original_Пол, string Original_Телефон, System.DateTime Original_Дата_рождения, string Original_Email, System.DateTime Original_Дата_регистрации) {
  1949. return this.Update(Original_Фамилия, Имя, Отчество, Пол, Телефон, Дата_рождения, Email, Дата_регистрации, Original_Фамилия, Original_Имя, Original_Отчество, Original_Пол, Original_Телефон, Original_Дата_рождения, Original_Email, Original_Дата_регистрации);
  1950. }
  1951. }
  1952. /// <summary>
  1953. ///Represents the connection and commands used to retrieve and save data.
  1954. ///</summary>
  1955. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  1956. [global::System.ComponentModel.ToolboxItem(true)]
  1957. [global::System.ComponentModel.DataObjectAttribute(true)]
  1958. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  1959. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  1960. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  1961. public partial class hhmhgmTableAdapter : global::System.ComponentModel.Component {
  1962. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  1963. private global::System.Data.SqlClient.SqlConnection _connection;
  1964. private global::System.Data.SqlClient.SqlTransaction _transaction;
  1965. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  1966. private bool _clearBeforeFill;
  1967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1968. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1969. public hhmhgmTableAdapter() {
  1970. this.ClearBeforeFill = true;
  1971. }
  1972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1973. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1974. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  1975. get {
  1976. if ((this._adapter == null)) {
  1977. this.InitAdapter();
  1978. }
  1979. return this._adapter;
  1980. }
  1981. }
  1982. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1983. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1984. internal global::System.Data.SqlClient.SqlConnection Connection {
  1985. get {
  1986. if ((this._connection == null)) {
  1987. this.InitConnection();
  1988. }
  1989. return this._connection;
  1990. }
  1991. set {
  1992. this._connection = value;
  1993. if ((this.Adapter.InsertCommand != null)) {
  1994. this.Adapter.InsertCommand.Connection = value;
  1995. }
  1996. if ((this.Adapter.DeleteCommand != null)) {
  1997. this.Adapter.DeleteCommand.Connection = value;
  1998. }
  1999. if ((this.Adapter.UpdateCommand != null)) {
  2000. this.Adapter.UpdateCommand.Connection = value;
  2001. }
  2002. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2003. if ((this.CommandCollection[i] != null)) {
  2004. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  2005. }
  2006. }
  2007. }
  2008. }
  2009. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2010. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2011. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  2012. get {
  2013. return this._transaction;
  2014. }
  2015. set {
  2016. this._transaction = value;
  2017. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2018. this.CommandCollection[i].Transaction = this._transaction;
  2019. }
  2020. if (((this.Adapter != null)
  2021. && (this.Adapter.DeleteCommand != null))) {
  2022. this.Adapter.DeleteCommand.Transaction = this._transaction;
  2023. }
  2024. if (((this.Adapter != null)
  2025. && (this.Adapter.InsertCommand != null))) {
  2026. this.Adapter.InsertCommand.Transaction = this._transaction;
  2027. }
  2028. if (((this.Adapter != null)
  2029. && (this.Adapter.UpdateCommand != null))) {
  2030. this.Adapter.UpdateCommand.Transaction = this._transaction;
  2031. }
  2032. }
  2033. }
  2034. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2035. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2036. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  2037. get {
  2038. if ((this._commandCollection == null)) {
  2039. this.InitCommandCollection();
  2040. }
  2041. return this._commandCollection;
  2042. }
  2043. }
  2044. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2045. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2046. public bool ClearBeforeFill {
  2047. get {
  2048. return this._clearBeforeFill;
  2049. }
  2050. set {
  2051. this._clearBeforeFill = value;
  2052. }
  2053. }
  2054. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2055. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2056. private void InitAdapter() {
  2057. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  2058. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  2059. tableMapping.SourceTable = "Table";
  2060. tableMapping.DataSetTable = "hhmhgm";
  2061. tableMapping.ColumnMappings.Add("Услуга", "Услуга");
  2062. tableMapping.ColumnMappings.Add("Начало_оказания_услуги", "Начало_оказания_услуги");
  2063. tableMapping.ColumnMappings.Add("Клиент", "Клиент");
  2064. this._adapter.TableMappings.Add(tableMapping);
  2065. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  2066. this._adapter.InsertCommand.Connection = this.Connection;
  2067. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[hhmhgm] ([Услуга], [Начало_оказания_услуги], [Клиент]) VALUES " +
  2068. "(@Услуга, @Начало_оказания_услуги, @Клиент)";
  2069. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  2070. 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, "", "", ""));
  2071. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Начало_оказания_услуги", global::System.Data.SqlDbType.DateTime2, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Начало_оказания_услуги", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2072. 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, "", "", ""));
  2073. }
  2074. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2075. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2076. private void InitConnection() {
  2077. this._connection = new global::System.Data.SqlClient.SqlConnection();
  2078. this._connection.ConnectionString = global::form.Properties.Settings.Default.Zuruanov_I__ISP_33ConnectionString;
  2079. }
  2080. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2081. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2082. private void InitCommandCollection() {
  2083. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  2084. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  2085. this._commandCollection[0].Connection = this.Connection;
  2086. this._commandCollection[0].CommandText = "SELECT Услуга, Начало_оказания_услуги, Клиент FROM dbo.hhmhgm";
  2087. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  2088. }
  2089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2090. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2091. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2092. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  2093. public virtual int Fill(_Zuruanov_I__ISP_33DataSet.hhmhgmDataTable dataTable) {
  2094. this.Adapter.SelectCommand = this.CommandCollection[0];
  2095. if ((this.ClearBeforeFill == true)) {
  2096. dataTable.Clear();
  2097. }
  2098. int returnValue = this.Adapter.Fill(dataTable);
  2099. return returnValue;
  2100. }
  2101. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2102. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2103. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2104. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  2105. public virtual _Zuruanov_I__ISP_33DataSet.hhmhgmDataTable GetData() {
  2106. this.Adapter.SelectCommand = this.CommandCollection[0];
  2107. _Zuruanov_I__ISP_33DataSet.hhmhgmDataTable dataTable = new _Zuruanov_I__ISP_33DataSet.hhmhgmDataTable();
  2108. this.Adapter.Fill(dataTable);
  2109. return dataTable;
  2110. }
  2111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2112. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2113. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2114. public virtual int Update(_Zuruanov_I__ISP_33DataSet.hhmhgmDataTable dataTable) {
  2115. return this.Adapter.Update(dataTable);
  2116. }
  2117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2119. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2120. public virtual int Update(_Zuruanov_I__ISP_33DataSet dataSet) {
  2121. return this.Adapter.Update(dataSet, "hhmhgm");
  2122. }
  2123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2125. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2126. public virtual int Update(global::System.Data.DataRow dataRow) {
  2127. return this.Adapter.Update(new global::System.Data.DataRow[] {
  2128. dataRow});
  2129. }
  2130. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2131. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2132. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2133. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  2134. return this.Adapter.Update(dataRows);
  2135. }
  2136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2137. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2138. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2139. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  2140. public virtual int Insert(string Услуга, System.DateTime Начало_оказания_услуги, string Клиент) {
  2141. if ((Услуга == null)) {
  2142. throw new global::System.ArgumentNullException("Услуга");
  2143. }
  2144. else {
  2145. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Услуга));
  2146. }
  2147. this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(Начало_оказания_услуги));
  2148. if ((Клиент == null)) {
  2149. throw new global::System.ArgumentNullException("Клиент");
  2150. }
  2151. else {
  2152. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Клиент));
  2153. }
  2154. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  2155. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  2156. != global::System.Data.ConnectionState.Open)) {
  2157. this.Adapter.InsertCommand.Connection.Open();
  2158. }
  2159. try {
  2160. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  2161. return returnValue;
  2162. }
  2163. finally {
  2164. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  2165. this.Adapter.InsertCommand.Connection.Close();
  2166. }
  2167. }
  2168. }
  2169. }
  2170. /// <summary>
  2171. ///Represents the connection and commands used to retrieve and save data.
  2172. ///</summary>
  2173. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  2174. [global::System.ComponentModel.ToolboxItem(true)]
  2175. [global::System.ComponentModel.DataObjectAttribute(true)]
  2176. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  2177. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  2178. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2179. public partial class service_b_importTableAdapter : global::System.ComponentModel.Component {
  2180. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  2181. private global::System.Data.SqlClient.SqlConnection _connection;
  2182. private global::System.Data.SqlClient.SqlTransaction _transaction;
  2183. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  2184. private bool _clearBeforeFill;
  2185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2186. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2187. public service_b_importTableAdapter() {
  2188. this.ClearBeforeFill = true;
  2189. }
  2190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2191. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2192. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  2193. get {
  2194. if ((this._adapter == null)) {
  2195. this.InitAdapter();
  2196. }
  2197. return this._adapter;
  2198. }
  2199. }
  2200. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2201. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2202. internal global::System.Data.SqlClient.SqlConnection Connection {
  2203. get {
  2204. if ((this._connection == null)) {
  2205. this.InitConnection();
  2206. }
  2207. return this._connection;
  2208. }
  2209. set {
  2210. this._connection = value;
  2211. if ((this.Adapter.InsertCommand != null)) {
  2212. this.Adapter.InsertCommand.Connection = value;
  2213. }
  2214. if ((this.Adapter.DeleteCommand != null)) {
  2215. this.Adapter.DeleteCommand.Connection = value;
  2216. }
  2217. if ((this.Adapter.UpdateCommand != null)) {
  2218. this.Adapter.UpdateCommand.Connection = value;
  2219. }
  2220. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2221. if ((this.CommandCollection[i] != null)) {
  2222. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  2223. }
  2224. }
  2225. }
  2226. }
  2227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2228. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2229. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  2230. get {
  2231. return this._transaction;
  2232. }
  2233. set {
  2234. this._transaction = value;
  2235. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2236. this.CommandCollection[i].Transaction = this._transaction;
  2237. }
  2238. if (((this.Adapter != null)
  2239. && (this.Adapter.DeleteCommand != null))) {
  2240. this.Adapter.DeleteCommand.Transaction = this._transaction;
  2241. }
  2242. if (((this.Adapter != null)
  2243. && (this.Adapter.InsertCommand != null))) {
  2244. this.Adapter.InsertCommand.Transaction = this._transaction;
  2245. }
  2246. if (((this.Adapter != null)
  2247. && (this.Adapter.UpdateCommand != null))) {
  2248. this.Adapter.UpdateCommand.Transaction = this._transaction;
  2249. }
  2250. }
  2251. }
  2252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2253. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2254. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  2255. get {
  2256. if ((this._commandCollection == null)) {
  2257. this.InitCommandCollection();
  2258. }
  2259. return this._commandCollection;
  2260. }
  2261. }
  2262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2263. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2264. public bool ClearBeforeFill {
  2265. get {
  2266. return this._clearBeforeFill;
  2267. }
  2268. set {
  2269. this._clearBeforeFill = value;
  2270. }
  2271. }
  2272. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2273. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2274. private void InitAdapter() {
  2275. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  2276. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  2277. tableMapping.SourceTable = "Table";
  2278. tableMapping.DataSetTable = "service_b_import";
  2279. tableMapping.ColumnMappings.Add("Наименование_услуги", "Наименование_услуги");
  2280. tableMapping.ColumnMappings.Add("Главное_изображение", "Главное_изображение");
  2281. tableMapping.ColumnMappings.Add("Длительность", "Длительность");
  2282. tableMapping.ColumnMappings.Add("Стоимость", "Стоимость");
  2283. tableMapping.ColumnMappings.Add("Действующая_скидка", "Действующая_скидка");
  2284. this._adapter.TableMappings.Add(tableMapping);
  2285. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  2286. this._adapter.InsertCommand.Connection = this.Connection;
  2287. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[service_b_import] ([Наименование_услуги], [Главное_изображение" +
  2288. "], [Длительность], [Стоимость], [Действующая_скидка]) VALUES (@Наименование_услу" +
  2289. "ги, @Главное_изображение, @Длительность, @Стоимость, @Действующая_скидка)";
  2290. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  2291. 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, "", "", ""));
  2292. 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, "", "", ""));
  2293. 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, "", "", ""));
  2294. 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, "", "", ""));
  2295. 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, "", "", ""));
  2296. }
  2297. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2298. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2299. private void InitConnection() {
  2300. this._connection = new global::System.Data.SqlClient.SqlConnection();
  2301. this._connection.ConnectionString = global::form.Properties.Settings.Default.Zuruanov_I__ISP_33ConnectionString;
  2302. }
  2303. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2304. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2305. private void InitCommandCollection() {
  2306. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  2307. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  2308. this._commandCollection[0].Connection = this.Connection;
  2309. this._commandCollection[0].CommandText = "SELECT Наименование_услуги, Главное_изображение, Длительность, Стоимость, Действу" +
  2310. "ющая_скидка FROM dbo.service_b_import";
  2311. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  2312. }
  2313. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2314. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2315. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2316. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  2317. public virtual int Fill(_Zuruanov_I__ISP_33DataSet.service_b_importDataTable dataTable) {
  2318. this.Adapter.SelectCommand = this.CommandCollection[0];
  2319. if ((this.ClearBeforeFill == true)) {
  2320. dataTable.Clear();
  2321. }
  2322. int returnValue = this.Adapter.Fill(dataTable);
  2323. return returnValue;
  2324. }
  2325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2326. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2327. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2328. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  2329. public virtual _Zuruanov_I__ISP_33DataSet.service_b_importDataTable GetData() {
  2330. this.Adapter.SelectCommand = this.CommandCollection[0];
  2331. _Zuruanov_I__ISP_33DataSet.service_b_importDataTable dataTable = new _Zuruanov_I__ISP_33DataSet.service_b_importDataTable();
  2332. this.Adapter.Fill(dataTable);
  2333. return dataTable;
  2334. }
  2335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2336. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2337. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2338. public virtual int Update(_Zuruanov_I__ISP_33DataSet.service_b_importDataTable dataTable) {
  2339. return this.Adapter.Update(dataTable);
  2340. }
  2341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2342. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2343. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2344. public virtual int Update(_Zuruanov_I__ISP_33DataSet dataSet) {
  2345. return this.Adapter.Update(dataSet, "service_b_import");
  2346. }
  2347. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2348. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2349. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2350. public virtual int Update(global::System.Data.DataRow dataRow) {
  2351. return this.Adapter.Update(new global::System.Data.DataRow[] {
  2352. dataRow});
  2353. }
  2354. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2355. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2356. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2357. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  2358. return this.Adapter.Update(dataRows);
  2359. }
  2360. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2361. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2362. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2363. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  2364. public virtual int Insert(string Наименование_услуги, string Главное_изображение, string Длительность, string Стоимость, string Действующая_скидка) {
  2365. if ((Наименование_услуги == null)) {
  2366. throw new global::System.ArgumentNullException("Наименование_услуги");
  2367. }
  2368. else {
  2369. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Наименование_услуги));
  2370. }
  2371. if ((Главное_изображение == null)) {
  2372. throw new global::System.ArgumentNullException("Главное_изображение");
  2373. }
  2374. else {
  2375. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Главное_изображение));
  2376. }
  2377. if ((Длительность == null)) {
  2378. throw new global::System.ArgumentNullException("Длительность");
  2379. }
  2380. else {
  2381. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Длительность));
  2382. }
  2383. if ((Стоимость == null)) {
  2384. throw new global::System.ArgumentNullException("Стоимость");
  2385. }
  2386. else {
  2387. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Стоимость));
  2388. }
  2389. if ((Действующая_скидка == null)) {
  2390. throw new global::System.ArgumentNullException("Действующая_скидка");
  2391. }
  2392. else {
  2393. this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Действующая_скидка));
  2394. }
  2395. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  2396. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  2397. != global::System.Data.ConnectionState.Open)) {
  2398. this.Adapter.InsertCommand.Connection.Open();
  2399. }
  2400. try {
  2401. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  2402. return returnValue;
  2403. }
  2404. finally {
  2405. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  2406. this.Adapter.InsertCommand.Connection.Close();
  2407. }
  2408. }
  2409. }
  2410. }
  2411. /// <summary>
  2412. ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
  2413. ///</summary>
  2414. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  2415. [global::System.ComponentModel.ToolboxItem(true)]
  2416. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
  2417. "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  2418. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
  2419. public partial class TableAdapterManager : global::System.ComponentModel.Component {
  2420. private UpdateOrderOption _updateOrder;
  2421. private gfgfTableAdapter _gfgfTableAdapter;
  2422. private hhmhgmTableAdapter _hhmhgmTableAdapter;
  2423. private service_b_importTableAdapter _service_b_importTableAdapter;
  2424. private bool _backupDataSetBeforeUpdate;
  2425. private global::System.Data.IDbConnection _connection;
  2426. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2427. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2428. public UpdateOrderOption UpdateOrder {
  2429. get {
  2430. return this._updateOrder;
  2431. }
  2432. set {
  2433. this._updateOrder = value;
  2434. }
  2435. }
  2436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2437. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2438. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  2439. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  2440. "a", "System.Drawing.Design.UITypeEditor")]
  2441. public gfgfTableAdapter gfgfTableAdapter {
  2442. get {
  2443. return this._gfgfTableAdapter;
  2444. }
  2445. set {
  2446. this._gfgfTableAdapter = value;
  2447. }
  2448. }
  2449. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2450. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2451. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  2452. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  2453. "a", "System.Drawing.Design.UITypeEditor")]
  2454. public hhmhgmTableAdapter hhmhgmTableAdapter {
  2455. get {
  2456. return this._hhmhgmTableAdapter;
  2457. }
  2458. set {
  2459. this._hhmhgmTableAdapter = value;
  2460. }
  2461. }
  2462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2463. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2464. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  2465. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  2466. "a", "System.Drawing.Design.UITypeEditor")]
  2467. public service_b_importTableAdapter service_b_importTableAdapter {
  2468. get {
  2469. return this._service_b_importTableAdapter;
  2470. }
  2471. set {
  2472. this._service_b_importTableAdapter = value;
  2473. }
  2474. }
  2475. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2476. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2477. public bool BackupDataSetBeforeUpdate {
  2478. get {
  2479. return this._backupDataSetBeforeUpdate;
  2480. }
  2481. set {
  2482. this._backupDataSetBeforeUpdate = value;
  2483. }
  2484. }
  2485. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2486. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2487. [global::System.ComponentModel.Browsable(false)]
  2488. public global::System.Data.IDbConnection Connection {
  2489. get {
  2490. if ((this._connection != null)) {
  2491. return this._connection;
  2492. }
  2493. if (((this._gfgfTableAdapter != null)
  2494. && (this._gfgfTableAdapter.Connection != null))) {
  2495. return this._gfgfTableAdapter.Connection;
  2496. }
  2497. if (((this._hhmhgmTableAdapter != null)
  2498. && (this._hhmhgmTableAdapter.Connection != null))) {
  2499. return this._hhmhgmTableAdapter.Connection;
  2500. }
  2501. if (((this._service_b_importTableAdapter != null)
  2502. && (this._service_b_importTableAdapter.Connection != null))) {
  2503. return this._service_b_importTableAdapter.Connection;
  2504. }
  2505. return null;
  2506. }
  2507. set {
  2508. this._connection = value;
  2509. }
  2510. }
  2511. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2512. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2513. [global::System.ComponentModel.Browsable(false)]
  2514. public int TableAdapterInstanceCount {
  2515. get {
  2516. int count = 0;
  2517. if ((this._gfgfTableAdapter != null)) {
  2518. count = (count + 1);
  2519. }
  2520. if ((this._hhmhgmTableAdapter != null)) {
  2521. count = (count + 1);
  2522. }
  2523. if ((this._service_b_importTableAdapter != null)) {
  2524. count = (count + 1);
  2525. }
  2526. return count;
  2527. }
  2528. }
  2529. /// <summary>
  2530. ///Update rows in top-down order.
  2531. ///</summary>
  2532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2533. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2534. private int UpdateUpdatedRows(_Zuruanov_I__ISP_33DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  2535. int result = 0;
  2536. if ((this._gfgfTableAdapter != null)) {
  2537. global::System.Data.DataRow[] updatedRows = dataSet.gfgf.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  2538. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  2539. if (((updatedRows != null)
  2540. && (0 < updatedRows.Length))) {
  2541. result = (result + this._gfgfTableAdapter.Update(updatedRows));
  2542. allChangedRows.AddRange(updatedRows);
  2543. }
  2544. }
  2545. if ((this._hhmhgmTableAdapter != null)) {
  2546. global::System.Data.DataRow[] updatedRows = dataSet.hhmhgm.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  2547. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  2548. if (((updatedRows != null)
  2549. && (0 < updatedRows.Length))) {
  2550. result = (result + this._hhmhgmTableAdapter.Update(updatedRows));
  2551. allChangedRows.AddRange(updatedRows);
  2552. }
  2553. }
  2554. if ((this._service_b_importTableAdapter != null)) {
  2555. global::System.Data.DataRow[] updatedRows = dataSet.service_b_import.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  2556. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  2557. if (((updatedRows != null)
  2558. && (0 < updatedRows.Length))) {
  2559. result = (result + this._service_b_importTableAdapter.Update(updatedRows));
  2560. allChangedRows.AddRange(updatedRows);
  2561. }
  2562. }
  2563. return result;
  2564. }
  2565. /// <summary>
  2566. ///Insert rows in top-down order.
  2567. ///</summary>
  2568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2570. private int UpdateInsertedRows(_Zuruanov_I__ISP_33DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  2571. int result = 0;
  2572. if ((this._gfgfTableAdapter != null)) {
  2573. global::System.Data.DataRow[] addedRows = dataSet.gfgf.Select(null, null, global::System.Data.DataViewRowState.Added);
  2574. if (((addedRows != null)
  2575. && (0 < addedRows.Length))) {
  2576. result = (result + this._gfgfTableAdapter.Update(addedRows));
  2577. allAddedRows.AddRange(addedRows);
  2578. }
  2579. }
  2580. if ((this._hhmhgmTableAdapter != null)) {
  2581. global::System.Data.DataRow[] addedRows = dataSet.hhmhgm.Select(null, null, global::System.Data.DataViewRowState.Added);
  2582. if (((addedRows != null)
  2583. && (0 < addedRows.Length))) {
  2584. result = (result + this._hhmhgmTableAdapter.Update(addedRows));
  2585. allAddedRows.AddRange(addedRows);
  2586. }
  2587. }
  2588. if ((this._service_b_importTableAdapter != null)) {
  2589. global::System.Data.DataRow[] addedRows = dataSet.service_b_import.Select(null, null, global::System.Data.DataViewRowState.Added);
  2590. if (((addedRows != null)
  2591. && (0 < addedRows.Length))) {
  2592. result = (result + this._service_b_importTableAdapter.Update(addedRows));
  2593. allAddedRows.AddRange(addedRows);
  2594. }
  2595. }
  2596. return result;
  2597. }
  2598. /// <summary>
  2599. ///Delete rows in bottom-up order.
  2600. ///</summary>
  2601. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2602. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2603. private int UpdateDeletedRows(_Zuruanov_I__ISP_33DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
  2604. int result = 0;
  2605. if ((this._service_b_importTableAdapter != null)) {
  2606. global::System.Data.DataRow[] deletedRows = dataSet.service_b_import.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  2607. if (((deletedRows != null)
  2608. && (0 < deletedRows.Length))) {
  2609. result = (result + this._service_b_importTableAdapter.Update(deletedRows));
  2610. allChangedRows.AddRange(deletedRows);
  2611. }
  2612. }
  2613. if ((this._hhmhgmTableAdapter != null)) {
  2614. global::System.Data.DataRow[] deletedRows = dataSet.hhmhgm.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  2615. if (((deletedRows != null)
  2616. && (0 < deletedRows.Length))) {
  2617. result = (result + this._hhmhgmTableAdapter.Update(deletedRows));
  2618. allChangedRows.AddRange(deletedRows);
  2619. }
  2620. }
  2621. if ((this._gfgfTableAdapter != null)) {
  2622. global::System.Data.DataRow[] deletedRows = dataSet.gfgf.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  2623. if (((deletedRows != null)
  2624. && (0 < deletedRows.Length))) {
  2625. result = (result + this._gfgfTableAdapter.Update(deletedRows));
  2626. allChangedRows.AddRange(deletedRows);
  2627. }
  2628. }
  2629. return result;
  2630. }
  2631. /// <summary>
  2632. ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
  2633. ///</summary>
  2634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2636. private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  2637. if (((updatedRows == null)
  2638. || (updatedRows.Length < 1))) {
  2639. return updatedRows;
  2640. }
  2641. if (((allAddedRows == null)
  2642. || (allAddedRows.Count < 1))) {
  2643. return updatedRows;
  2644. }
  2645. global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  2646. for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
  2647. global::System.Data.DataRow row = updatedRows[i];
  2648. if ((allAddedRows.Contains(row) == false)) {
  2649. realUpdatedRows.Add(row);
  2650. }
  2651. }
  2652. return realUpdatedRows.ToArray();
  2653. }
  2654. /// <summary>
  2655. ///Update all changes to the dataset.
  2656. ///</summary>
  2657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2658. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2659. public virtual int UpdateAll(_Zuruanov_I__ISP_33DataSet dataSet) {
  2660. if ((dataSet == null)) {
  2661. throw new global::System.ArgumentNullException("dataSet");
  2662. }
  2663. if ((dataSet.HasChanges() == false)) {
  2664. return 0;
  2665. }
  2666. if (((this._gfgfTableAdapter != null)
  2667. && (this.MatchTableAdapterConnection(this._gfgfTableAdapter.Connection) == false))) {
  2668. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  2669. "r, должны использовать одинаковую строку подключения.");
  2670. }
  2671. if (((this._hhmhgmTableAdapter != null)
  2672. && (this.MatchTableAdapterConnection(this._hhmhgmTableAdapter.Connection) == false))) {
  2673. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  2674. "r, должны использовать одинаковую строку подключения.");
  2675. }
  2676. if (((this._service_b_importTableAdapter != null)
  2677. && (this.MatchTableAdapterConnection(this._service_b_importTableAdapter.Connection) == false))) {
  2678. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  2679. "r, должны использовать одинаковую строку подключения.");
  2680. }
  2681. global::System.Data.IDbConnection workConnection = this.Connection;
  2682. if ((workConnection == null)) {
  2683. throw new global::System.ApplicationException("TableAdapterManager не содержит сведений о подключении. Укажите для каждого адапт" +
  2684. "ера таблицы TableAdapterManager допустимый экземпляр адаптера таблицы.");
  2685. }
  2686. bool workConnOpened = false;
  2687. if (((workConnection.State & global::System.Data.ConnectionState.Broken)
  2688. == global::System.Data.ConnectionState.Broken)) {
  2689. workConnection.Close();
  2690. }
  2691. if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
  2692. workConnection.Open();
  2693. workConnOpened = true;
  2694. }
  2695. global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
  2696. if ((workTransaction == null)) {
  2697. throw new global::System.ApplicationException("Не удается начать транзакцию. Текущее соединение данных не поддерживает транзакци" +
  2698. "и или текущее состояние не позволяет начать транзакцию.");
  2699. }
  2700. global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  2701. global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  2702. global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
  2703. global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
  2704. int result = 0;
  2705. global::System.Data.DataSet backupDataSet = null;
  2706. if (this.BackupDataSetBeforeUpdate) {
  2707. backupDataSet = new global::System.Data.DataSet();
  2708. backupDataSet.Merge(dataSet);
  2709. }
  2710. try {
  2711. // ---- Prepare for update -----------
  2712. //
  2713. if ((this._gfgfTableAdapter != null)) {
  2714. revertConnections.Add(this._gfgfTableAdapter, this._gfgfTableAdapter.Connection);
  2715. this._gfgfTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  2716. this._gfgfTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  2717. if (this._gfgfTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  2718. this._gfgfTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  2719. adaptersWithAcceptChangesDuringUpdate.Add(this._gfgfTableAdapter.Adapter);
  2720. }
  2721. }
  2722. if ((this._hhmhgmTableAdapter != null)) {
  2723. revertConnections.Add(this._hhmhgmTableAdapter, this._hhmhgmTableAdapter.Connection);
  2724. this._hhmhgmTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  2725. this._hhmhgmTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  2726. if (this._hhmhgmTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  2727. this._hhmhgmTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  2728. adaptersWithAcceptChangesDuringUpdate.Add(this._hhmhgmTableAdapter.Adapter);
  2729. }
  2730. }
  2731. if ((this._service_b_importTableAdapter != null)) {
  2732. revertConnections.Add(this._service_b_importTableAdapter, this._service_b_importTableAdapter.Connection);
  2733. this._service_b_importTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  2734. this._service_b_importTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  2735. if (this._service_b_importTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  2736. this._service_b_importTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  2737. adaptersWithAcceptChangesDuringUpdate.Add(this._service_b_importTableAdapter.Adapter);
  2738. }
  2739. }
  2740. //
  2741. //---- Perform updates -----------
  2742. //
  2743. if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
  2744. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  2745. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  2746. }
  2747. else {
  2748. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  2749. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  2750. }
  2751. result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
  2752. //
  2753. //---- Commit updates -----------
  2754. //
  2755. workTransaction.Commit();
  2756. if ((0 < allAddedRows.Count)) {
  2757. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  2758. allAddedRows.CopyTo(rows);
  2759. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  2760. global::System.Data.DataRow row = rows[i];
  2761. row.AcceptChanges();
  2762. }
  2763. }
  2764. if ((0 < allChangedRows.Count)) {
  2765. global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
  2766. allChangedRows.CopyTo(rows);
  2767. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  2768. global::System.Data.DataRow row = rows[i];
  2769. row.AcceptChanges();
  2770. }
  2771. }
  2772. }
  2773. catch (global::System.Exception ex) {
  2774. workTransaction.Rollback();
  2775. // ---- Restore the dataset -----------
  2776. if (this.BackupDataSetBeforeUpdate) {
  2777. global::System.Diagnostics.Debug.Assert((backupDataSet != null));
  2778. dataSet.Clear();
  2779. dataSet.Merge(backupDataSet);
  2780. }
  2781. else {
  2782. if ((0 < allAddedRows.Count)) {
  2783. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  2784. allAddedRows.CopyTo(rows);
  2785. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  2786. global::System.Data.DataRow row = rows[i];
  2787. row.AcceptChanges();
  2788. row.SetAdded();
  2789. }
  2790. }
  2791. }
  2792. throw ex;
  2793. }
  2794. finally {
  2795. if (workConnOpened) {
  2796. workConnection.Close();
  2797. }
  2798. if ((this._gfgfTableAdapter != null)) {
  2799. this._gfgfTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._gfgfTableAdapter]));
  2800. this._gfgfTableAdapter.Transaction = null;
  2801. }
  2802. if ((this._hhmhgmTableAdapter != null)) {
  2803. this._hhmhgmTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._hhmhgmTableAdapter]));
  2804. this._hhmhgmTableAdapter.Transaction = null;
  2805. }
  2806. if ((this._service_b_importTableAdapter != null)) {
  2807. this._service_b_importTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._service_b_importTableAdapter]));
  2808. this._service_b_importTableAdapter.Transaction = null;
  2809. }
  2810. if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
  2811. global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
  2812. adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
  2813. for (int i = 0; (i < adapters.Length); i = (i + 1)) {
  2814. global::System.Data.Common.DataAdapter adapter = adapters[i];
  2815. adapter.AcceptChangesDuringUpdate = true;
  2816. }
  2817. }
  2818. }
  2819. return result;
  2820. }
  2821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2823. protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
  2824. global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
  2825. }
  2826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2827. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2828. protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
  2829. if ((this._connection != null)) {
  2830. return true;
  2831. }
  2832. if (((this.Connection == null)
  2833. || (inputConnection == null))) {
  2834. return true;
  2835. }
  2836. if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
  2837. return true;
  2838. }
  2839. return false;
  2840. }
  2841. /// <summary>
  2842. ///Update Order Option
  2843. ///</summary>
  2844. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2845. public enum UpdateOrderOption {
  2846. InsertUpdateDelete = 0,
  2847. UpdateInsertDelete = 1,
  2848. }
  2849. /// <summary>
  2850. ///Used to sort self-referenced table's rows
  2851. ///</summary>
  2852. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2853. private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
  2854. private global::System.Data.DataRelation _relation;
  2855. private int _childFirst;
  2856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2857. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2858. internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
  2859. this._relation = relation;
  2860. if (childFirst) {
  2861. this._childFirst = -1;
  2862. }
  2863. else {
  2864. this._childFirst = 1;
  2865. }
  2866. }
  2867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2868. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2869. private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
  2870. global::System.Diagnostics.Debug.Assert((row != null));
  2871. global::System.Data.DataRow root = row;
  2872. distance = 0;
  2873. 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>();
  2874. traversedRows[row] = row;
  2875. global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  2876. for (
  2877. ; ((parent != null)
  2878. && (traversedRows.ContainsKey(parent) == false));
  2879. ) {
  2880. distance = (distance + 1);
  2881. root = parent;
  2882. traversedRows[parent] = parent;
  2883. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  2884. }
  2885. if ((distance == 0)) {
  2886. traversedRows.Clear();
  2887. traversedRows[row] = row;
  2888. parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  2889. for (
  2890. ; ((parent != null)
  2891. && (traversedRows.ContainsKey(parent) == false));
  2892. ) {
  2893. distance = (distance + 1);
  2894. root = parent;
  2895. traversedRows[parent] = parent;
  2896. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  2897. }
  2898. }
  2899. return root;
  2900. }
  2901. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2902. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2903. public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
  2904. if (object.ReferenceEquals(row1, row2)) {
  2905. return 0;
  2906. }
  2907. if ((row1 == null)) {
  2908. return -1;
  2909. }
  2910. if ((row2 == null)) {
  2911. return 1;
  2912. }
  2913. int distance1 = 0;
  2914. global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
  2915. int distance2 = 0;
  2916. global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
  2917. if (object.ReferenceEquals(root1, root2)) {
  2918. return (this._childFirst * distance1.CompareTo(distance2));
  2919. }
  2920. else {
  2921. global::System.Diagnostics.Debug.Assert(((root1.Table != null)
  2922. && (root2.Table != null)));
  2923. if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
  2924. return -1;
  2925. }
  2926. else {
  2927. return 1;
  2928. }
  2929. }
  2930. }
  2931. }
  2932. }
  2933. }
  2934. #pragma warning restore 1591