KhozeeevPC_12DataSet.xsd 179 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="KhozeeevPC_12DataSet" targetNamespace="http://tempuri.org/KhozeeevPC_12DataSet.xsd" xmlns:mstns="http://tempuri.org/KhozeeevPC_12DataSet.xsd" xmlns="http://tempuri.org/KhozeeevPC_12DataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  3. <xs:annotation>
  4. <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
  5. <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
  6. <Connections>
  7. <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="KhozeeevPC_12ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="KhozeeevPC_12ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Khozeev8.Properties.Settings.GlobalReference.Default.KhozeeevPC_12ConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="БлокПитанияTableAdapter" GeneratorDataComponentClassName="БлокПитанияTableAdapter" Name="БлокПитания" UserDataComponentName="БлокПитанияTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.БлокПитания" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  13. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>DELETE FROM [dbo].[БлокПитания] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодБлокаПитания] = @Original_КодБлокаПитания))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  23. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="false" SourceVersion="Original" />
  24. </Parameters>
  25. </DbCommand>
  26. </DeleteCommand>
  27. <InsertCommand>
  28. <DbCommand CommandType="Text" ModifiedByUser="false">
  29. <CommandText>INSERT INTO [dbo].[БлокПитания] ([Название], [Цена], [Количество], [КодБлокаПитания]) VALUES (@Название, @Цена, @Количество, @КодБлокаПитания);
  30. SELECT Название, Цена, Количество, КодБлокаПитания FROM БлокПитания WHERE (КодБлокаПитания = @КодБлокаПитания)</CommandText>
  31. <Parameters>
  32. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  33. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  34. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  35. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="false" SourceVersion="Current" />
  36. </Parameters>
  37. </DbCommand>
  38. </InsertCommand>
  39. <SelectCommand>
  40. <DbCommand CommandType="Text" ModifiedByUser="false">
  41. <CommandText>SELECT Название, Цена, Количество, КодБлокаПитания FROM dbo.БлокПитания</CommandText>
  42. <Parameters />
  43. </DbCommand>
  44. </SelectCommand>
  45. <UpdateCommand>
  46. <DbCommand CommandType="Text" ModifiedByUser="false">
  47. <CommandText>UPDATE [dbo].[БлокПитания] SET [Название] = @Название, [Цена] = @Цена, [Количество] = @Количество, [КодБлокаПитания] = @КодБлокаПитания WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодБлокаПитания] = @Original_КодБлокаПитания));
  48. SELECT Название, Цена, Количество, КодБлокаПитания FROM БлокПитания WHERE (КодБлокаПитания = @КодБлокаПитания)</CommandText>
  49. <Parameters>
  50. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  51. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  52. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  53. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="false" SourceVersion="Current" />
  54. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  55. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  56. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  57. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  58. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  59. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  60. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="false" SourceVersion="Original" />
  61. </Parameters>
  62. </DbCommand>
  63. </UpdateCommand>
  64. </DbSource>
  65. </MainSource>
  66. <Mappings>
  67. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  68. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  69. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  70. <Mapping SourceColumn="КодБлокаПитания" DataSetColumn="КодБлокаПитания" />
  71. </Mappings>
  72. <Sources />
  73. </TableAdapter>
  74. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ВидеокартыTableAdapter" GeneratorDataComponentClassName="ВидеокартыTableAdapter" Name="Видеокарты" UserDataComponentName="ВидеокартыTableAdapter">
  75. <MainSource>
  76. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.Видеокарты" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  77. <DeleteCommand>
  78. <DbCommand CommandType="Text" ModifiedByUser="false">
  79. <CommandText>DELETE FROM [dbo].[Видеокарты] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодВидеокарты] = @Original_КодВидеокарты))</CommandText>
  80. <Parameters>
  81. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  82. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  83. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  84. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  85. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  86. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  87. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="false" SourceVersion="Original" />
  88. </Parameters>
  89. </DbCommand>
  90. </DeleteCommand>
  91. <InsertCommand>
  92. <DbCommand CommandType="Text" ModifiedByUser="false">
  93. <CommandText>INSERT INTO [dbo].[Видеокарты] ([Название], [Цена], [Количество], [КодВидеокарты]) VALUES (@Название, @Цена, @Количество, @КодВидеокарты);
  94. SELECT Название, Цена, Количество, КодВидеокарты FROM Видеокарты WHERE (КодВидеокарты = @КодВидеокарты)</CommandText>
  95. <Parameters>
  96. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  97. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  98. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  99. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="false" SourceVersion="Current" />
  100. </Parameters>
  101. </DbCommand>
  102. </InsertCommand>
  103. <SelectCommand>
  104. <DbCommand CommandType="Text" ModifiedByUser="false">
  105. <CommandText>SELECT Название, Цена, Количество, КодВидеокарты FROM dbo.Видеокарты</CommandText>
  106. <Parameters />
  107. </DbCommand>
  108. </SelectCommand>
  109. <UpdateCommand>
  110. <DbCommand CommandType="Text" ModifiedByUser="false">
  111. <CommandText>UPDATE [dbo].[Видеокарты] SET [Название] = @Название, [Цена] = @Цена, [Количество] = @Количество, [КодВидеокарты] = @КодВидеокарты WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодВидеокарты] = @Original_КодВидеокарты));
  112. SELECT Название, Цена, Количество, КодВидеокарты FROM Видеокарты WHERE (КодВидеокарты = @КодВидеокарты)</CommandText>
  113. <Parameters>
  114. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  115. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  116. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  117. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="false" SourceVersion="Current" />
  118. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  119. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  120. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  121. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  122. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  123. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  124. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="false" SourceVersion="Original" />
  125. </Parameters>
  126. </DbCommand>
  127. </UpdateCommand>
  128. </DbSource>
  129. </MainSource>
  130. <Mappings>
  131. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  132. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  133. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  134. <Mapping SourceColumn="КодВидеокарты" DataSetColumn="КодВидеокарты" />
  135. </Mappings>
  136. <Sources />
  137. </TableAdapter>
  138. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ВодянаяСистемаОхлажденияTableAdapter" GeneratorDataComponentClassName="ВодянаяСистемаОхлажденияTableAdapter" Name="ВодянаяСистемаОхлаждения" UserDataComponentName="ВодянаяСистемаОхлажденияTableAdapter">
  139. <MainSource>
  140. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.ВодянаяСистемаОхлаждения" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  141. <DeleteCommand>
  142. <DbCommand CommandType="Text" ModifiedByUser="false">
  143. <CommandText>DELETE FROM [dbo].[ВодянаяСистемаОхлаждения] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ([КодВодянойСистемы] = @Original_КодВодянойСистемы) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)))</CommandText>
  144. <Parameters>
  145. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  146. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  147. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="false" SourceVersion="Original" />
  148. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  149. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  150. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  151. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  152. </Parameters>
  153. </DbCommand>
  154. </DeleteCommand>
  155. <InsertCommand>
  156. <DbCommand CommandType="Text" ModifiedByUser="false">
  157. <CommandText>INSERT INTO [dbo].[ВодянаяСистемаОхлаждения] ([Название], [КодВодянойСистемы], [Цена], [Количество]) VALUES (@Название, @КодВодянойСистемы, @Цена, @Количество);
  158. SELECT Название, КодВодянойСистемы, Цена, Количество FROM ВодянаяСистемаОхлаждения WHERE (КодВодянойСистемы = @КодВодянойСистемы)</CommandText>
  159. <Parameters>
  160. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  161. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="false" SourceVersion="Current" />
  162. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  163. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  164. </Parameters>
  165. </DbCommand>
  166. </InsertCommand>
  167. <SelectCommand>
  168. <DbCommand CommandType="Text" ModifiedByUser="false">
  169. <CommandText>SELECT Название, КодВодянойСистемы, Цена, Количество FROM dbo.ВодянаяСистемаОхлаждения</CommandText>
  170. <Parameters />
  171. </DbCommand>
  172. </SelectCommand>
  173. <UpdateCommand>
  174. <DbCommand CommandType="Text" ModifiedByUser="false">
  175. <CommandText>UPDATE [dbo].[ВодянаяСистемаОхлаждения] SET [Название] = @Название, [КодВодянойСистемы] = @КодВодянойСистемы, [Цена] = @Цена, [Количество] = @Количество WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ([КодВодянойСистемы] = @Original_КодВодянойСистемы) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)));
  176. SELECT Название, КодВодянойСистемы, Цена, Количество FROM ВодянаяСистемаОхлаждения WHERE (КодВодянойСистемы = @КодВодянойСистемы)</CommandText>
  177. <Parameters>
  178. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  179. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="false" SourceVersion="Current" />
  180. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  181. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  182. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  183. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  184. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="false" SourceVersion="Original" />
  185. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  186. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  187. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  189. </Parameters>
  190. </DbCommand>
  191. </UpdateCommand>
  192. </DbSource>
  193. </MainSource>
  194. <Mappings>
  195. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  196. <Mapping SourceColumn="КодВодянойСистемы" DataSetColumn="КодВодянойСистемы" />
  197. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  198. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  199. </Mappings>
  200. <Sources />
  201. </TableAdapter>
  202. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ГотоваяСборкаTableAdapter" GeneratorDataComponentClassName="ГотоваяСборкаTableAdapter" Name="ГотоваяСборка" UserDataComponentName="ГотоваяСборкаTableAdapter">
  203. <MainSource>
  204. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.ГотоваяСборка" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  205. <DeleteCommand>
  206. <DbCommand CommandType="Text" ModifiedByUser="false">
  207. <CommandText>DELETE FROM [dbo].[ГотоваяСборка] WHERE (([КодСборки] = @Original_КодСборки) AND ((@IsNull_КодБлокаПитания = 1 AND [КодБлокаПитания] IS NULL) OR ([КодБлокаПитания] = @Original_КодБлокаПитания)) AND ((@IsNull_КодВидеокарты = 1 AND [КодВидеокарты] IS NULL) OR ([КодВидеокарты] = @Original_КодВидеокарты)) AND ((@IsNull_КодВодянойСистемы = 1 AND [КодВодянойСистемы] IS NULL) OR ([КодВодянойСистемы] = @Original_КодВодянойСистемы)) AND ((@IsNull_КодЖесткогоДиска = 1 AND [КодЖесткогоДиска] IS NULL) OR ([КодЖесткогоДиска] = @Original_КодЖесткогоДиска)) AND ((@IsNull_КодКулера = 1 AND [КодКулера] IS NULL) OR ([КодКулера] = @Original_КодКулера)) AND ((@IsNull_КодМатеринскойПлаты = 1 AND [КодМатеринскойПлаты] IS NULL) OR ([КодМатеринскойПлаты] = @Original_КодМатеринскойПлаты)) AND ((@IsNull_КодОперативнойПамяти = 1 AND [КодОперативнойПамяти] IS NULL) OR ([КодОперативнойПамяти] = @Original_КодОперативнойПамяти)) AND ((@IsNull_КодПроцессора = 1 AND [КодПроцессора] IS NULL) OR ([КодПроцессора] = @Original_КодПроцессора)) AND ((@IsNull_КодССД = 1 AND [КодССД] IS NULL) OR ([КодССД] = @Original_КодССД)) AND ((@IsNull_Сотрудник = 1 AND [Сотрудник] IS NULL) OR ([Сотрудник] = @Original_Сотрудник)))</CommandText>
  208. <Parameters>
  209. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодСборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодСборки" SourceColumnNullMapping="false" SourceVersion="Original" />
  210. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="true" SourceVersion="Original" />
  211. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="false" SourceVersion="Original" />
  212. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="true" SourceVersion="Original" />
  213. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="false" SourceVersion="Original" />
  214. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="true" SourceVersion="Original" />
  215. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="false" SourceVersion="Original" />
  216. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="true" SourceVersion="Original" />
  217. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="false" SourceVersion="Original" />
  218. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="true" SourceVersion="Original" />
  219. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="false" SourceVersion="Original" />
  220. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="true" SourceVersion="Original" />
  221. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="false" SourceVersion="Original" />
  222. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="true" SourceVersion="Original" />
  223. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="false" SourceVersion="Original" />
  224. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="true" SourceVersion="Original" />
  225. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="false" SourceVersion="Original" />
  226. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="true" SourceVersion="Original" />
  227. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="false" SourceVersion="Original" />
  228. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="true" SourceVersion="Original" />
  229. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="false" SourceVersion="Original" />
  230. </Parameters>
  231. </DbCommand>
  232. </DeleteCommand>
  233. <InsertCommand>
  234. <DbCommand CommandType="Text" ModifiedByUser="false">
  235. <CommandText>INSERT INTO [dbo].[ГотоваяСборка] ([КодСборки], [КодБлокаПитания], [КодВидеокарты], [КодВодянойСистемы], [КодЖесткогоДиска], [КодКулера], [КодМатеринскойПлаты], [КодОперативнойПамяти], [КодПроцессора], [КодССД], [Сотрудник]) VALUES (@КодСборки, @КодБлокаПитания, @КодВидеокарты, @КодВодянойСистемы, @КодЖесткогоДиска, @КодКулера, @КодМатеринскойПлаты, @КодОперативнойПамяти, @КодПроцессора, @КодССД, @Сотрудник);
  236. SELECT КодСборки, КодБлокаПитания, КодВидеокарты, КодВодянойСистемы, КодЖесткогоДиска, КодКулера, КодМатеринскойПлаты, КодОперативнойПамяти, КодПроцессора, КодССД, Сотрудник FROM ГотоваяСборка WHERE (КодСборки = @КодСборки)</CommandText>
  237. <Parameters>
  238. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодСборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодСборки" SourceColumnNullMapping="false" SourceVersion="Current" />
  239. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="false" SourceVersion="Current" />
  240. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="false" SourceVersion="Current" />
  241. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="false" SourceVersion="Current" />
  242. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="false" SourceVersion="Current" />
  243. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="false" SourceVersion="Current" />
  244. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="false" SourceVersion="Current" />
  245. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="false" SourceVersion="Current" />
  246. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="false" SourceVersion="Current" />
  247. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="false" SourceVersion="Current" />
  248. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="false" SourceVersion="Current" />
  249. </Parameters>
  250. </DbCommand>
  251. </InsertCommand>
  252. <SelectCommand>
  253. <DbCommand CommandType="Text" ModifiedByUser="false">
  254. <CommandText>SELECT КодСборки, КодБлокаПитания, КодВидеокарты, КодВодянойСистемы, КодЖесткогоДиска, КодКулера, КодМатеринскойПлаты, КодОперативнойПамяти, КодПроцессора, КодССД, Сотрудник FROM dbo.ГотоваяСборка</CommandText>
  255. <Parameters />
  256. </DbCommand>
  257. </SelectCommand>
  258. <UpdateCommand>
  259. <DbCommand CommandType="Text" ModifiedByUser="false">
  260. <CommandText>UPDATE [dbo].[ГотоваяСборка] SET [КодСборки] = @КодСборки, [КодБлокаПитания] = @КодБлокаПитания, [КодВидеокарты] = @КодВидеокарты, [КодВодянойСистемы] = @КодВодянойСистемы, [КодЖесткогоДиска] = @КодЖесткогоДиска, [КодКулера] = @КодКулера, [КодМатеринскойПлаты] = @КодМатеринскойПлаты, [КодОперативнойПамяти] = @КодОперативнойПамяти, [КодПроцессора] = @КодПроцессора, [КодССД] = @КодССД, [Сотрудник] = @Сотрудник WHERE (([КодСборки] = @Original_КодСборки) AND ((@IsNull_КодБлокаПитания = 1 AND [КодБлокаПитания] IS NULL) OR ([КодБлокаПитания] = @Original_КодБлокаПитания)) AND ((@IsNull_КодВидеокарты = 1 AND [КодВидеокарты] IS NULL) OR ([КодВидеокарты] = @Original_КодВидеокарты)) AND ((@IsNull_КодВодянойСистемы = 1 AND [КодВодянойСистемы] IS NULL) OR ([КодВодянойСистемы] = @Original_КодВодянойСистемы)) AND ((@IsNull_КодЖесткогоДиска = 1 AND [КодЖесткогоДиска] IS NULL) OR ([КодЖесткогоДиска] = @Original_КодЖесткогоДиска)) AND ((@IsNull_КодКулера = 1 AND [КодКулера] IS NULL) OR ([КодКулера] = @Original_КодКулера)) AND ((@IsNull_КодМатеринскойПлаты = 1 AND [КодМатеринскойПлаты] IS NULL) OR ([КодМатеринскойПлаты] = @Original_КодМатеринскойПлаты)) AND ((@IsNull_КодОперативнойПамяти = 1 AND [КодОперативнойПамяти] IS NULL) OR ([КодОперативнойПамяти] = @Original_КодОперативнойПамяти)) AND ((@IsNull_КодПроцессора = 1 AND [КодПроцессора] IS NULL) OR ([КодПроцессора] = @Original_КодПроцессора)) AND ((@IsNull_КодССД = 1 AND [КодССД] IS NULL) OR ([КодССД] = @Original_КодССД)) AND ((@IsNull_Сотрудник = 1 AND [Сотрудник] IS NULL) OR ([Сотрудник] = @Original_Сотрудник)));
  261. SELECT КодСборки, КодБлокаПитания, КодВидеокарты, КодВодянойСистемы, КодЖесткогоДиска, КодКулера, КодМатеринскойПлаты, КодОперативнойПамяти, КодПроцессора, КодССД, Сотрудник FROM ГотоваяСборка WHERE (КодСборки = @КодСборки)</CommandText>
  262. <Parameters>
  263. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодСборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодСборки" SourceColumnNullMapping="false" SourceVersion="Current" />
  264. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="false" SourceVersion="Current" />
  265. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="false" SourceVersion="Current" />
  266. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="false" SourceVersion="Current" />
  267. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="false" SourceVersion="Current" />
  268. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="false" SourceVersion="Current" />
  269. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="false" SourceVersion="Current" />
  270. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="false" SourceVersion="Current" />
  271. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="false" SourceVersion="Current" />
  272. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="false" SourceVersion="Current" />
  273. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="false" SourceVersion="Current" />
  274. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодСборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодСборки" SourceColumnNullMapping="false" SourceVersion="Original" />
  275. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="true" SourceVersion="Original" />
  276. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодБлокаПитания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодБлокаПитания" SourceColumnNullMapping="false" SourceVersion="Original" />
  277. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="true" SourceVersion="Original" />
  278. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодВидеокарты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВидеокарты" SourceColumnNullMapping="false" SourceVersion="Original" />
  279. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="true" SourceVersion="Original" />
  280. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодВодянойСистемы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодВодянойСистемы" SourceColumnNullMapping="false" SourceVersion="Original" />
  281. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="true" SourceVersion="Original" />
  282. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="false" SourceVersion="Original" />
  283. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="true" SourceVersion="Original" />
  284. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="false" SourceVersion="Original" />
  285. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="true" SourceVersion="Original" />
  286. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="false" SourceVersion="Original" />
  287. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="true" SourceVersion="Original" />
  288. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="false" SourceVersion="Original" />
  289. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="true" SourceVersion="Original" />
  290. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="false" SourceVersion="Original" />
  291. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="true" SourceVersion="Original" />
  292. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="false" SourceVersion="Original" />
  293. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="true" SourceVersion="Original" />
  294. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="false" SourceVersion="Original" />
  295. </Parameters>
  296. </DbCommand>
  297. </UpdateCommand>
  298. </DbSource>
  299. </MainSource>
  300. <Mappings>
  301. <Mapping SourceColumn="КодСборки" DataSetColumn="КодСборки" />
  302. <Mapping SourceColumn="КодБлокаПитания" DataSetColumn="КодБлокаПитания" />
  303. <Mapping SourceColumn="КодВидеокарты" DataSetColumn="КодВидеокарты" />
  304. <Mapping SourceColumn="КодВодянойСистемы" DataSetColumn="КодВодянойСистемы" />
  305. <Mapping SourceColumn="КодЖесткогоДиска" DataSetColumn="КодЖесткогоДиска" />
  306. <Mapping SourceColumn="КодКулера" DataSetColumn="КодКулера" />
  307. <Mapping SourceColumn="КодМатеринскойПлаты" DataSetColumn="КодМатеринскойПлаты" />
  308. <Mapping SourceColumn="КодОперативнойПамяти" DataSetColumn="КодОперативнойПамяти" />
  309. <Mapping SourceColumn="КодПроцессора" DataSetColumn="КодПроцессора" />
  310. <Mapping SourceColumn="КодССД" DataSetColumn="КодССД" />
  311. <Mapping SourceColumn="Сотрудник" DataSetColumn="Сотрудник" />
  312. </Mappings>
  313. <Sources />
  314. </TableAdapter>
  315. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ЖесткийДискTableAdapter" GeneratorDataComponentClassName="ЖесткийДискTableAdapter" Name="ЖесткийДиск" UserDataComponentName="ЖесткийДискTableAdapter">
  316. <MainSource>
  317. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.ЖесткийДиск" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  318. <DeleteCommand>
  319. <DbCommand CommandType="Text" ModifiedByUser="false">
  320. <CommandText>DELETE FROM [dbo].[ЖесткийДиск] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ([КодЖесткогоДиска] = @Original_КодЖесткогоДиска))</CommandText>
  321. <Parameters>
  322. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  323. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  324. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  325. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  326. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  327. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  328. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="false" SourceVersion="Original" />
  329. </Parameters>
  330. </DbCommand>
  331. </DeleteCommand>
  332. <InsertCommand>
  333. <DbCommand CommandType="Text" ModifiedByUser="false">
  334. <CommandText>INSERT INTO [dbo].[ЖесткийДиск] ([Название], [Количество], [Цена], [КодЖесткогоДиска]) VALUES (@Название, @Количество, @Цена, @КодЖесткогоДиска);
  335. SELECT Название, Количество, Цена, КодЖесткогоДиска FROM ЖесткийДиск WHERE (КодЖесткогоДиска = @КодЖесткогоДиска)</CommandText>
  336. <Parameters>
  337. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  338. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  339. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  340. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="false" SourceVersion="Current" />
  341. </Parameters>
  342. </DbCommand>
  343. </InsertCommand>
  344. <SelectCommand>
  345. <DbCommand CommandType="Text" ModifiedByUser="false">
  346. <CommandText>SELECT Название, Количество, Цена, КодЖесткогоДиска FROM dbo.ЖесткийДиск</CommandText>
  347. <Parameters />
  348. </DbCommand>
  349. </SelectCommand>
  350. <UpdateCommand>
  351. <DbCommand CommandType="Text" ModifiedByUser="false">
  352. <CommandText>UPDATE [dbo].[ЖесткийДиск] SET [Название] = @Название, [Количество] = @Количество, [Цена] = @Цена, [КодЖесткогоДиска] = @КодЖесткогоДиска WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ([КодЖесткогоДиска] = @Original_КодЖесткогоДиска));
  353. SELECT Название, Количество, Цена, КодЖесткогоДиска FROM ЖесткийДиск WHERE (КодЖесткогоДиска = @КодЖесткогоДиска)</CommandText>
  354. <Parameters>
  355. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  356. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  357. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  358. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="false" SourceVersion="Current" />
  359. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  360. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  361. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  362. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  363. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  364. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  365. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодЖесткогоДиска" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодЖесткогоДиска" SourceColumnNullMapping="false" SourceVersion="Original" />
  366. </Parameters>
  367. </DbCommand>
  368. </UpdateCommand>
  369. </DbSource>
  370. </MainSource>
  371. <Mappings>
  372. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  373. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  374. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  375. <Mapping SourceColumn="КодЖесткогоДиска" DataSetColumn="КодЖесткогоДиска" />
  376. </Mappings>
  377. <Sources />
  378. </TableAdapter>
  379. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="КулерыTableAdapter" GeneratorDataComponentClassName="КулерыTableAdapter" Name="Кулеры" UserDataComponentName="КулерыTableAdapter">
  380. <MainSource>
  381. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.Кулеры" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  382. <DeleteCommand>
  383. <DbCommand CommandType="Text" ModifiedByUser="false">
  384. <CommandText>DELETE FROM [dbo].[Кулеры] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ([КодКулера] = @Original_КодКулера))</CommandText>
  385. <Parameters>
  386. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  387. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  388. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  389. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  390. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  391. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  392. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="false" SourceVersion="Original" />
  393. </Parameters>
  394. </DbCommand>
  395. </DeleteCommand>
  396. <InsertCommand>
  397. <DbCommand CommandType="Text" ModifiedByUser="false">
  398. <CommandText>INSERT INTO [dbo].[Кулеры] ([Название], [Количество], [Цена], [КодКулера]) VALUES (@Название, @Количество, @Цена, @КодКулера);
  399. SELECT Название, Количество, Цена, КодКулера FROM Кулеры WHERE (КодКулера = @КодКулера)</CommandText>
  400. <Parameters>
  401. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  402. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  403. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  404. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="false" SourceVersion="Current" />
  405. </Parameters>
  406. </DbCommand>
  407. </InsertCommand>
  408. <SelectCommand>
  409. <DbCommand CommandType="Text" ModifiedByUser="false">
  410. <CommandText>SELECT Название, Количество, Цена, КодКулера FROM dbo.Кулеры</CommandText>
  411. <Parameters />
  412. </DbCommand>
  413. </SelectCommand>
  414. <UpdateCommand>
  415. <DbCommand CommandType="Text" ModifiedByUser="false">
  416. <CommandText>UPDATE [dbo].[Кулеры] SET [Название] = @Название, [Количество] = @Количество, [Цена] = @Цена, [КодКулера] = @КодКулера WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ([КодКулера] = @Original_КодКулера));
  417. SELECT Название, Количество, Цена, КодКулера FROM Кулеры WHERE (КодКулера = @КодКулера)</CommandText>
  418. <Parameters>
  419. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  420. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  421. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  422. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="false" SourceVersion="Current" />
  423. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  424. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  425. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  426. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  427. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  428. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  429. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодКулера" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодКулера" SourceColumnNullMapping="false" SourceVersion="Original" />
  430. </Parameters>
  431. </DbCommand>
  432. </UpdateCommand>
  433. </DbSource>
  434. </MainSource>
  435. <Mappings>
  436. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  437. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  438. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  439. <Mapping SourceColumn="КодКулера" DataSetColumn="КодКулера" />
  440. </Mappings>
  441. <Sources />
  442. </TableAdapter>
  443. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="МатеринскаяПлатаTableAdapter" GeneratorDataComponentClassName="МатеринскаяПлатаTableAdapter" Name="МатеринскаяПлата" UserDataComponentName="МатеринскаяПлатаTableAdapter">
  444. <MainSource>
  445. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.МатеринскаяПлата" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  446. <DeleteCommand>
  447. <DbCommand CommandType="Text" ModifiedByUser="false">
  448. <CommandText>DELETE FROM [dbo].[МатеринскаяПлата] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодМатеринскойПлаты] = @Original_КодМатеринскойПлаты))</CommandText>
  449. <Parameters>
  450. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  451. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  452. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  453. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  454. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  455. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  456. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="false" SourceVersion="Original" />
  457. </Parameters>
  458. </DbCommand>
  459. </DeleteCommand>
  460. <InsertCommand>
  461. <DbCommand CommandType="Text" ModifiedByUser="false">
  462. <CommandText>INSERT INTO [dbo].[МатеринскаяПлата] ([Название], [Цена], [Количество], [КодМатеринскойПлаты]) VALUES (@Название, @Цена, @Количество, @КодМатеринскойПлаты);
  463. SELECT Название, Цена, Количество, КодМатеринскойПлаты FROM МатеринскаяПлата WHERE (КодМатеринскойПлаты = @КодМатеринскойПлаты)</CommandText>
  464. <Parameters>
  465. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  466. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  467. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  468. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="false" SourceVersion="Current" />
  469. </Parameters>
  470. </DbCommand>
  471. </InsertCommand>
  472. <SelectCommand>
  473. <DbCommand CommandType="Text" ModifiedByUser="false">
  474. <CommandText>SELECT Название, Цена, Количество, КодМатеринскойПлаты FROM dbo.МатеринскаяПлата</CommandText>
  475. <Parameters />
  476. </DbCommand>
  477. </SelectCommand>
  478. <UpdateCommand>
  479. <DbCommand CommandType="Text" ModifiedByUser="false">
  480. <CommandText>UPDATE [dbo].[МатеринскаяПлата] SET [Название] = @Название, [Цена] = @Цена, [Количество] = @Количество, [КодМатеринскойПлаты] = @КодМатеринскойПлаты WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодМатеринскойПлаты] = @Original_КодМатеринскойПлаты));
  481. SELECT Название, Цена, Количество, КодМатеринскойПлаты FROM МатеринскаяПлата WHERE (КодМатеринскойПлаты = @КодМатеринскойПлаты)</CommandText>
  482. <Parameters>
  483. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  484. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  485. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  486. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="false" SourceVersion="Current" />
  487. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  488. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  489. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  490. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  491. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  492. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  493. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодМатеринскойПлаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодМатеринскойПлаты" SourceColumnNullMapping="false" SourceVersion="Original" />
  494. </Parameters>
  495. </DbCommand>
  496. </UpdateCommand>
  497. </DbSource>
  498. </MainSource>
  499. <Mappings>
  500. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  501. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  502. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  503. <Mapping SourceColumn="КодМатеринскойПлаты" DataSetColumn="КодМатеринскойПлаты" />
  504. </Mappings>
  505. <Sources />
  506. </TableAdapter>
  507. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ОперативнаяПамятьTableAdapter" GeneratorDataComponentClassName="ОперативнаяПамятьTableAdapter" Name="ОперативнаяПамять" UserDataComponentName="ОперативнаяПамятьTableAdapter">
  508. <MainSource>
  509. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.ОперативнаяПамять" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  510. <DeleteCommand>
  511. <DbCommand CommandType="Text" ModifiedByUser="false">
  512. <CommandText>DELETE FROM [dbo].[ОперативнаяПамять] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодОперативнойПамяти] = @Original_КодОперативнойПамяти))</CommandText>
  513. <Parameters>
  514. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  515. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  516. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  517. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  518. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  519. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  520. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="false" SourceVersion="Original" />
  521. </Parameters>
  522. </DbCommand>
  523. </DeleteCommand>
  524. <InsertCommand>
  525. <DbCommand CommandType="Text" ModifiedByUser="false">
  526. <CommandText>INSERT INTO [dbo].[ОперативнаяПамять] ([Название], [Цена], [Количество], [КодОперативнойПамяти]) VALUES (@Название, @Цена, @Количество, @КодОперативнойПамяти);
  527. SELECT Название, Цена, Количество, КодОперативнойПамяти FROM ОперативнаяПамять WHERE (КодОперативнойПамяти = @КодОперативнойПамяти)</CommandText>
  528. <Parameters>
  529. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  530. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  531. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  532. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="false" SourceVersion="Current" />
  533. </Parameters>
  534. </DbCommand>
  535. </InsertCommand>
  536. <SelectCommand>
  537. <DbCommand CommandType="Text" ModifiedByUser="false">
  538. <CommandText>SELECT Название, Цена, Количество, КодОперативнойПамяти FROM dbo.ОперативнаяПамять</CommandText>
  539. <Parameters />
  540. </DbCommand>
  541. </SelectCommand>
  542. <UpdateCommand>
  543. <DbCommand CommandType="Text" ModifiedByUser="false">
  544. <CommandText>UPDATE [dbo].[ОперативнаяПамять] SET [Название] = @Название, [Цена] = @Цена, [Количество] = @Количество, [КодОперативнойПамяти] = @КодОперативнойПамяти WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодОперативнойПамяти] = @Original_КодОперативнойПамяти));
  545. SELECT Название, Цена, Количество, КодОперативнойПамяти FROM ОперативнаяПамять WHERE (КодОперативнойПамяти = @КодОперативнойПамяти)</CommandText>
  546. <Parameters>
  547. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  548. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  549. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  550. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="false" SourceVersion="Current" />
  551. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  552. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  553. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  554. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  555. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  556. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  557. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодОперативнойПамяти" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодОперативнойПамяти" SourceColumnNullMapping="false" SourceVersion="Original" />
  558. </Parameters>
  559. </DbCommand>
  560. </UpdateCommand>
  561. </DbSource>
  562. </MainSource>
  563. <Mappings>
  564. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  565. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  566. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  567. <Mapping SourceColumn="КодОперативнойПамяти" DataSetColumn="КодОперативнойПамяти" />
  568. </Mappings>
  569. <Sources />
  570. </TableAdapter>
  571. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ПользователиTableAdapter" GeneratorDataComponentClassName="ПользователиTableAdapter" Name="Пользователи" UserDataComponentName="ПользователиTableAdapter">
  572. <MainSource>
  573. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.Пользователи" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  574. <DeleteCommand>
  575. <DbCommand CommandType="Text" ModifiedByUser="false">
  576. <CommandText>DELETE FROM [dbo].[Пользователи] WHERE (((@IsNull_Логин = 1 AND [Логин] IS NULL) OR ([Логин] = @Original_Логин)) AND ((@IsNull_Пароль = 1 AND [Пароль] IS NULL) OR ([Пароль] = @Original_Пароль)) AND ([КодПользователя] = @Original_КодПользователя))</CommandText>
  577. <Parameters>
  578. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Логин" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="true" SourceVersion="Original" />
  579. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Original" />
  580. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пароль" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="true" SourceVersion="Original" />
  581. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Original" />
  582. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПользователя" SourceColumnNullMapping="false" SourceVersion="Original" />
  583. </Parameters>
  584. </DbCommand>
  585. </DeleteCommand>
  586. <InsertCommand>
  587. <DbCommand CommandType="Text" ModifiedByUser="false">
  588. <CommandText>INSERT INTO [dbo].[Пользователи] ([Логин], [Пароль], [КодПользователя]) VALUES (@Логин, @Пароль, @КодПользователя);
  589. SELECT Логин, Пароль, КодПользователя FROM Пользователи WHERE (КодПользователя = @КодПользователя)</CommandText>
  590. <Parameters>
  591. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Current" />
  592. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Current" />
  593. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПользователя" SourceColumnNullMapping="false" SourceVersion="Current" />
  594. </Parameters>
  595. </DbCommand>
  596. </InsertCommand>
  597. <SelectCommand>
  598. <DbCommand CommandType="Text" ModifiedByUser="false">
  599. <CommandText>SELECT Логин, Пароль, КодПользователя FROM dbo.Пользователи</CommandText>
  600. <Parameters />
  601. </DbCommand>
  602. </SelectCommand>
  603. <UpdateCommand>
  604. <DbCommand CommandType="Text" ModifiedByUser="false">
  605. <CommandText>UPDATE [dbo].[Пользователи] SET [Логин] = @Логин, [Пароль] = @Пароль, [КодПользователя] = @КодПользователя WHERE (((@IsNull_Логин = 1 AND [Логин] IS NULL) OR ([Логин] = @Original_Логин)) AND ((@IsNull_Пароль = 1 AND [Пароль] IS NULL) OR ([Пароль] = @Original_Пароль)) AND ([КодПользователя] = @Original_КодПользователя));
  606. SELECT Логин, Пароль, КодПользователя FROM Пользователи WHERE (КодПользователя = @КодПользователя)</CommandText>
  607. <Parameters>
  608. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Current" />
  609. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Current" />
  610. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПользователя" SourceColumnNullMapping="false" SourceVersion="Current" />
  611. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Логин" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="true" SourceVersion="Original" />
  612. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Original" />
  613. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пароль" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="true" SourceVersion="Original" />
  614. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Original" />
  615. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПользователя" SourceColumnNullMapping="false" SourceVersion="Original" />
  616. </Parameters>
  617. </DbCommand>
  618. </UpdateCommand>
  619. </DbSource>
  620. </MainSource>
  621. <Mappings>
  622. <Mapping SourceColumn="Логин" DataSetColumn="Логин" />
  623. <Mapping SourceColumn="Пароль" DataSetColumn="Пароль" />
  624. <Mapping SourceColumn="КодПользователя" DataSetColumn="КодПользователя" />
  625. </Mappings>
  626. <Sources />
  627. </TableAdapter>
  628. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ПроцессорыTableAdapter" GeneratorDataComponentClassName="ПроцессорыTableAdapter" Name="Процессоры" UserDataComponentName="ПроцессорыTableAdapter">
  629. <MainSource>
  630. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.Процессоры" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  631. <DeleteCommand>
  632. <DbCommand CommandType="Text" ModifiedByUser="false">
  633. <CommandText>DELETE FROM [dbo].[Процессоры] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодПроцессора] = @Original_КодПроцессора))</CommandText>
  634. <Parameters>
  635. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  636. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  637. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  638. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  639. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  640. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  641. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="false" SourceVersion="Original" />
  642. </Parameters>
  643. </DbCommand>
  644. </DeleteCommand>
  645. <InsertCommand>
  646. <DbCommand CommandType="Text" ModifiedByUser="false">
  647. <CommandText>INSERT INTO [dbo].[Процессоры] ([Название], [Цена], [Количество], [КодПроцессора]) VALUES (@Название, @Цена, @Количество, @КодПроцессора);
  648. SELECT Название, Цена, Количество, КодПроцессора FROM Процессоры WHERE (КодПроцессора = @КодПроцессора)</CommandText>
  649. <Parameters>
  650. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  651. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  652. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  653. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="false" SourceVersion="Current" />
  654. </Parameters>
  655. </DbCommand>
  656. </InsertCommand>
  657. <SelectCommand>
  658. <DbCommand CommandType="Text" ModifiedByUser="false">
  659. <CommandText>SELECT Название, Цена, Количество, КодПроцессора FROM dbo.Процессоры</CommandText>
  660. <Parameters />
  661. </DbCommand>
  662. </SelectCommand>
  663. <UpdateCommand>
  664. <DbCommand CommandType="Text" ModifiedByUser="false">
  665. <CommandText>UPDATE [dbo].[Процессоры] SET [Название] = @Название, [Цена] = @Цена, [Количество] = @Количество, [КодПроцессора] = @КодПроцессора WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодПроцессора] = @Original_КодПроцессора));
  666. SELECT Название, Цена, Количество, КодПроцессора FROM Процессоры WHERE (КодПроцессора = @КодПроцессора)</CommandText>
  667. <Parameters>
  668. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  669. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  670. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  671. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="false" SourceVersion="Current" />
  672. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  673. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  674. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  675. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  676. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  677. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  678. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодПроцессора" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодПроцессора" SourceColumnNullMapping="false" SourceVersion="Original" />
  679. </Parameters>
  680. </DbCommand>
  681. </UpdateCommand>
  682. </DbSource>
  683. </MainSource>
  684. <Mappings>
  685. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  686. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  687. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  688. <Mapping SourceColumn="КодПроцессора" DataSetColumn="КодПроцессора" />
  689. </Mappings>
  690. <Sources />
  691. </TableAdapter>
  692. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ССДTableAdapter" GeneratorDataComponentClassName="ССДTableAdapter" Name="ССД" UserDataComponentName="ССДTableAdapter">
  693. <MainSource>
  694. <DbSource ConnectionRef="KhozeeevPC_12ConnectionString (Settings)" DbObjectName="KhozeeevPC_12.dbo.ССД" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  695. <DeleteCommand>
  696. <DbCommand CommandType="Text" ModifiedByUser="false">
  697. <CommandText>DELETE FROM [dbo].[ССД] WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодССД] = @Original_КодССД))</CommandText>
  698. <Parameters>
  699. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  700. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  701. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  702. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  703. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  704. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  705. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="false" SourceVersion="Original" />
  706. </Parameters>
  707. </DbCommand>
  708. </DeleteCommand>
  709. <InsertCommand>
  710. <DbCommand CommandType="Text" ModifiedByUser="false">
  711. <CommandText>INSERT INTO [dbo].[ССД] ([Название], [Цена], [Количество], [КодССД]) VALUES (@Название, @Цена, @Количество, @КодССД);
  712. SELECT Название, Цена, Количество, КодССД FROM ССД WHERE (КодССД = @КодССД)</CommandText>
  713. <Parameters>
  714. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  715. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  716. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  717. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="false" SourceVersion="Current" />
  718. </Parameters>
  719. </DbCommand>
  720. </InsertCommand>
  721. <SelectCommand>
  722. <DbCommand CommandType="Text" ModifiedByUser="false">
  723. <CommandText>SELECT Название, Цена, Количество, КодССД FROM dbo.ССД</CommandText>
  724. <Parameters />
  725. </DbCommand>
  726. </SelectCommand>
  727. <UpdateCommand>
  728. <DbCommand CommandType="Text" ModifiedByUser="false">
  729. <CommandText>UPDATE [dbo].[ССД] SET [Название] = @Название, [Цена] = @Цена, [Количество] = @Количество, [КодССД] = @КодССД WHERE (((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ([КодССД] = @Original_КодССД));
  730. SELECT Название, Цена, Количество, КодССД FROM ССД WHERE (КодССД = @КодССД)</CommandText>
  731. <Parameters>
  732. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  733. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  734. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  735. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="false" SourceVersion="Current" />
  736. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  737. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  738. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  739. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  740. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  741. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  742. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_КодССД" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="КодССД" SourceColumnNullMapping="false" SourceVersion="Original" />
  743. </Parameters>
  744. </DbCommand>
  745. </UpdateCommand>
  746. </DbSource>
  747. </MainSource>
  748. <Mappings>
  749. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  750. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  751. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  752. <Mapping SourceColumn="КодССД" DataSetColumn="КодССД" />
  753. </Mappings>
  754. <Sources />
  755. </TableAdapter>
  756. </Tables>
  757. <Sources />
  758. </DataSource>
  759. </xs:appinfo>
  760. </xs:annotation>
  761. <xs:element name="KhozeeevPC_12DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="KhozeeevPC_12DataSet" msprop:Generator_UserDSName="KhozeeevPC_12DataSet">
  762. <xs:complexType>
  763. <xs:choice minOccurs="0" maxOccurs="unbounded">
  764. <xs:element name="БлокПитания" msprop:Generator_TableClassName="БлокПитанияDataTable" msprop:Generator_TableVarName="tableБлокПитания" msprop:Generator_TablePropName="БлокПитания" msprop:Generator_RowDeletingName="БлокПитанияRowDeleting" msprop:Generator_RowChangingName="БлокПитанияRowChanging" msprop:Generator_RowEvHandlerName="БлокПитанияRowChangeEventHandler" msprop:Generator_RowDeletedName="БлокПитанияRowDeleted" msprop:Generator_UserTableName="БлокПитания" msprop:Generator_RowChangedName="БлокПитанияRowChanged" msprop:Generator_RowEvArgName="БлокПитанияRowChangeEvent" msprop:Generator_RowClassName="БлокПитанияRow">
  765. <xs:complexType>
  766. <xs:sequence>
  767. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  768. <xs:simpleType>
  769. <xs:restriction base="xs:string">
  770. <xs:maxLength value="50" />
  771. </xs:restriction>
  772. </xs:simpleType>
  773. </xs:element>
  774. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  775. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  776. <xs:element name="КодБлокаПитания" msprop:Generator_ColumnVarNameInTable="columnКодБлокаПитания" msprop:Generator_ColumnPropNameInRow="КодБлокаПитания" msprop:Generator_ColumnPropNameInTable="КодБлокаПитанияColumn" msprop:Generator_UserColumnName="КодБлокаПитания" type="xs:int" />
  777. </xs:sequence>
  778. </xs:complexType>
  779. </xs:element>
  780. <xs:element name="Видеокарты" msprop:Generator_TableClassName="ВидеокартыDataTable" msprop:Generator_TableVarName="tableВидеокарты" msprop:Generator_TablePropName="Видеокарты" msprop:Generator_RowDeletingName="ВидеокартыRowDeleting" msprop:Generator_RowChangingName="ВидеокартыRowChanging" msprop:Generator_RowEvHandlerName="ВидеокартыRowChangeEventHandler" msprop:Generator_RowDeletedName="ВидеокартыRowDeleted" msprop:Generator_UserTableName="Видеокарты" msprop:Generator_RowChangedName="ВидеокартыRowChanged" msprop:Generator_RowEvArgName="ВидеокартыRowChangeEvent" msprop:Generator_RowClassName="ВидеокартыRow">
  781. <xs:complexType>
  782. <xs:sequence>
  783. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  784. <xs:simpleType>
  785. <xs:restriction base="xs:string">
  786. <xs:maxLength value="50" />
  787. </xs:restriction>
  788. </xs:simpleType>
  789. </xs:element>
  790. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  791. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" minOccurs="0">
  792. <xs:simpleType>
  793. <xs:restriction base="xs:string">
  794. <xs:maxLength value="50" />
  795. </xs:restriction>
  796. </xs:simpleType>
  797. </xs:element>
  798. <xs:element name="КодВидеокарты" msprop:Generator_ColumnVarNameInTable="columnКодВидеокарты" msprop:Generator_ColumnPropNameInRow="КодВидеокарты" msprop:Generator_ColumnPropNameInTable="КодВидеокартыColumn" msprop:Generator_UserColumnName="КодВидеокарты" type="xs:int" />
  799. </xs:sequence>
  800. </xs:complexType>
  801. </xs:element>
  802. <xs:element name="ВодянаяСистемаОхлаждения" msprop:Generator_TableClassName="ВодянаяСистемаОхлажденияDataTable" msprop:Generator_TableVarName="tableВодянаяСистемаОхлаждения" msprop:Generator_TablePropName="ВодянаяСистемаОхлаждения" msprop:Generator_RowDeletingName="ВодянаяСистемаОхлажденияRowDeleting" msprop:Generator_RowChangingName="ВодянаяСистемаОхлажденияRowChanging" msprop:Generator_RowEvHandlerName="ВодянаяСистемаОхлажденияRowChangeEventHandler" msprop:Generator_RowDeletedName="ВодянаяСистемаОхлажденияRowDeleted" msprop:Generator_UserTableName="ВодянаяСистемаОхлаждения" msprop:Generator_RowChangedName="ВодянаяСистемаОхлажденияRowChanged" msprop:Generator_RowEvArgName="ВодянаяСистемаОхлажденияRowChangeEvent" msprop:Generator_RowClassName="ВодянаяСистемаОхлажденияRow">
  803. <xs:complexType>
  804. <xs:sequence>
  805. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  806. <xs:simpleType>
  807. <xs:restriction base="xs:string">
  808. <xs:maxLength value="50" />
  809. </xs:restriction>
  810. </xs:simpleType>
  811. </xs:element>
  812. <xs:element name="КодВодянойСистемы" msprop:Generator_ColumnVarNameInTable="columnКодВодянойСистемы" msprop:Generator_ColumnPropNameInRow="КодВодянойСистемы" msprop:Generator_ColumnPropNameInTable="КодВодянойСистемыColumn" msprop:Generator_UserColumnName="КодВодянойСистемы" type="xs:int" />
  813. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  814. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  815. </xs:sequence>
  816. </xs:complexType>
  817. </xs:element>
  818. <xs:element name="ГотоваяСборка" msprop:Generator_TableClassName="ГотоваяСборкаDataTable" msprop:Generator_TableVarName="tableГотоваяСборка" msprop:Generator_TablePropName="ГотоваяСборка" msprop:Generator_RowDeletingName="ГотоваяСборкаRowDeleting" msprop:Generator_RowChangingName="ГотоваяСборкаRowChanging" msprop:Generator_RowEvHandlerName="ГотоваяСборкаRowChangeEventHandler" msprop:Generator_RowDeletedName="ГотоваяСборкаRowDeleted" msprop:Generator_UserTableName="ГотоваяСборка" msprop:Generator_RowChangedName="ГотоваяСборкаRowChanged" msprop:Generator_RowEvArgName="ГотоваяСборкаRowChangeEvent" msprop:Generator_RowClassName="ГотоваяСборкаRow">
  819. <xs:complexType>
  820. <xs:sequence>
  821. <xs:element name="КодСборки" msprop:Generator_ColumnVarNameInTable="columnКодСборки" msprop:Generator_ColumnPropNameInRow="КодСборки" msprop:Generator_ColumnPropNameInTable="КодСборкиColumn" msprop:Generator_UserColumnName="КодСборки" type="xs:int" />
  822. <xs:element name="КодБлокаПитания" msprop:Generator_ColumnVarNameInTable="columnКодБлокаПитания" msprop:Generator_ColumnPropNameInRow="КодБлокаПитания" msprop:Generator_ColumnPropNameInTable="КодБлокаПитанияColumn" msprop:Generator_UserColumnName="КодБлокаПитания" type="xs:int" minOccurs="0" />
  823. <xs:element name="КодВидеокарты" msprop:Generator_ColumnVarNameInTable="columnКодВидеокарты" msprop:Generator_ColumnPropNameInRow="КодВидеокарты" msprop:Generator_ColumnPropNameInTable="КодВидеокартыColumn" msprop:Generator_UserColumnName="КодВидеокарты" type="xs:int" minOccurs="0" />
  824. <xs:element name="КодВодянойСистемы" msprop:Generator_ColumnVarNameInTable="columnКодВодянойСистемы" msprop:Generator_ColumnPropNameInRow="КодВодянойСистемы" msprop:Generator_ColumnPropNameInTable="КодВодянойСистемыColumn" msprop:Generator_UserColumnName="КодВодянойСистемы" type="xs:int" minOccurs="0" />
  825. <xs:element name="КодЖесткогоДиска" msprop:Generator_ColumnVarNameInTable="columnКодЖесткогоДиска" msprop:Generator_ColumnPropNameInRow="КодЖесткогоДиска" msprop:Generator_ColumnPropNameInTable="КодЖесткогоДискаColumn" msprop:Generator_UserColumnName="КодЖесткогоДиска" type="xs:int" minOccurs="0" />
  826. <xs:element name="КодКулера" msprop:Generator_ColumnVarNameInTable="columnКодКулера" msprop:Generator_ColumnPropNameInRow="КодКулера" msprop:Generator_ColumnPropNameInTable="КодКулераColumn" msprop:Generator_UserColumnName="КодКулера" type="xs:int" minOccurs="0" />
  827. <xs:element name="КодМатеринскойПлаты" msprop:Generator_ColumnVarNameInTable="columnКодМатеринскойПлаты" msprop:Generator_ColumnPropNameInRow="КодМатеринскойПлаты" msprop:Generator_ColumnPropNameInTable="КодМатеринскойПлатыColumn" msprop:Generator_UserColumnName="КодМатеринскойПлаты" type="xs:int" minOccurs="0" />
  828. <xs:element name="КодОперативнойПамяти" msprop:Generator_ColumnVarNameInTable="columnКодОперативнойПамяти" msprop:Generator_ColumnPropNameInRow="КодОперативнойПамяти" msprop:Generator_ColumnPropNameInTable="КодОперативнойПамятиColumn" msprop:Generator_UserColumnName="КодОперативнойПамяти" type="xs:int" minOccurs="0" />
  829. <xs:element name="КодПроцессора" msprop:Generator_ColumnVarNameInTable="columnКодПроцессора" msprop:Generator_ColumnPropNameInRow="КодПроцессора" msprop:Generator_ColumnPropNameInTable="КодПроцессораColumn" msprop:Generator_UserColumnName="КодПроцессора" type="xs:int" minOccurs="0" />
  830. <xs:element name="КодССД" msprop:Generator_ColumnVarNameInTable="columnКодССД" msprop:Generator_ColumnPropNameInRow="КодССД" msprop:Generator_ColumnPropNameInTable="КодССДColumn" msprop:Generator_UserColumnName="КодССД" type="xs:int" minOccurs="0" />
  831. <xs:element name="Сотрудник" msprop:Generator_ColumnVarNameInTable="columnСотрудник" msprop:Generator_ColumnPropNameInRow="Сотрудник" msprop:Generator_ColumnPropNameInTable="СотрудникColumn" msprop:Generator_UserColumnName="Сотрудник" type="xs:int" minOccurs="0" />
  832. </xs:sequence>
  833. </xs:complexType>
  834. </xs:element>
  835. <xs:element name="ЖесткийДиск" msprop:Generator_TableClassName="ЖесткийДискDataTable" msprop:Generator_TableVarName="tableЖесткийДиск" msprop:Generator_TablePropName="ЖесткийДиск" msprop:Generator_RowDeletingName="ЖесткийДискRowDeleting" msprop:Generator_RowChangingName="ЖесткийДискRowChanging" msprop:Generator_RowEvHandlerName="ЖесткийДискRowChangeEventHandler" msprop:Generator_RowDeletedName="ЖесткийДискRowDeleted" msprop:Generator_UserTableName="ЖесткийДиск" msprop:Generator_RowChangedName="ЖесткийДискRowChanged" msprop:Generator_RowEvArgName="ЖесткийДискRowChangeEvent" msprop:Generator_RowClassName="ЖесткийДискRow">
  836. <xs:complexType>
  837. <xs:sequence>
  838. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  839. <xs:simpleType>
  840. <xs:restriction base="xs:string">
  841. <xs:maxLength value="50" />
  842. </xs:restriction>
  843. </xs:simpleType>
  844. </xs:element>
  845. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  846. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  847. <xs:element name="КодЖесткогоДиска" msprop:Generator_ColumnVarNameInTable="columnКодЖесткогоДиска" msprop:Generator_ColumnPropNameInRow="КодЖесткогоДиска" msprop:Generator_ColumnPropNameInTable="КодЖесткогоДискаColumn" msprop:Generator_UserColumnName="КодЖесткогоДиска" type="xs:int" />
  848. </xs:sequence>
  849. </xs:complexType>
  850. </xs:element>
  851. <xs:element name="Кулеры" msprop:Generator_TableClassName="КулерыDataTable" msprop:Generator_TableVarName="tableКулеры" msprop:Generator_TablePropName="Кулеры" msprop:Generator_RowDeletingName="КулерыRowDeleting" msprop:Generator_RowChangingName="КулерыRowChanging" msprop:Generator_RowEvHandlerName="КулерыRowChangeEventHandler" msprop:Generator_RowDeletedName="КулерыRowDeleted" msprop:Generator_UserTableName="Кулеры" msprop:Generator_RowChangedName="КулерыRowChanged" msprop:Generator_RowEvArgName="КулерыRowChangeEvent" msprop:Generator_RowClassName="КулерыRow">
  852. <xs:complexType>
  853. <xs:sequence>
  854. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  855. <xs:simpleType>
  856. <xs:restriction base="xs:string">
  857. <xs:maxLength value="50" />
  858. </xs:restriction>
  859. </xs:simpleType>
  860. </xs:element>
  861. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  862. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  863. <xs:element name="КодКулера" msprop:Generator_ColumnVarNameInTable="columnКодКулера" msprop:Generator_ColumnPropNameInRow="КодКулера" msprop:Generator_ColumnPropNameInTable="КодКулераColumn" msprop:Generator_UserColumnName="КодКулера" type="xs:int" />
  864. </xs:sequence>
  865. </xs:complexType>
  866. </xs:element>
  867. <xs:element name="МатеринскаяПлата" msprop:Generator_TableClassName="МатеринскаяПлатаDataTable" msprop:Generator_TableVarName="tableМатеринскаяПлата" msprop:Generator_TablePropName="МатеринскаяПлата" msprop:Generator_RowDeletingName="МатеринскаяПлатаRowDeleting" msprop:Generator_RowChangingName="МатеринскаяПлатаRowChanging" msprop:Generator_RowEvHandlerName="МатеринскаяПлатаRowChangeEventHandler" msprop:Generator_RowDeletedName="МатеринскаяПлатаRowDeleted" msprop:Generator_UserTableName="МатеринскаяПлата" msprop:Generator_RowChangedName="МатеринскаяПлатаRowChanged" msprop:Generator_RowEvArgName="МатеринскаяПлатаRowChangeEvent" msprop:Generator_RowClassName="МатеринскаяПлатаRow">
  868. <xs:complexType>
  869. <xs:sequence>
  870. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  871. <xs:simpleType>
  872. <xs:restriction base="xs:string">
  873. <xs:maxLength value="50" />
  874. </xs:restriction>
  875. </xs:simpleType>
  876. </xs:element>
  877. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  878. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  879. <xs:element name="КодМатеринскойПлаты" msprop:Generator_ColumnVarNameInTable="columnКодМатеринскойПлаты" msprop:Generator_ColumnPropNameInRow="КодМатеринскойПлаты" msprop:Generator_ColumnPropNameInTable="КодМатеринскойПлатыColumn" msprop:Generator_UserColumnName="КодМатеринскойПлаты" type="xs:int" />
  880. </xs:sequence>
  881. </xs:complexType>
  882. </xs:element>
  883. <xs:element name="ОперативнаяПамять" msprop:Generator_TableClassName="ОперативнаяПамятьDataTable" msprop:Generator_TableVarName="tableОперативнаяПамять" msprop:Generator_TablePropName="ОперативнаяПамять" msprop:Generator_RowDeletingName="ОперативнаяПамятьRowDeleting" msprop:Generator_RowChangingName="ОперативнаяПамятьRowChanging" msprop:Generator_RowEvHandlerName="ОперативнаяПамятьRowChangeEventHandler" msprop:Generator_RowDeletedName="ОперативнаяПамятьRowDeleted" msprop:Generator_UserTableName="ОперативнаяПамять" msprop:Generator_RowChangedName="ОперативнаяПамятьRowChanged" msprop:Generator_RowEvArgName="ОперативнаяПамятьRowChangeEvent" msprop:Generator_RowClassName="ОперативнаяПамятьRow">
  884. <xs:complexType>
  885. <xs:sequence>
  886. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  887. <xs:simpleType>
  888. <xs:restriction base="xs:string">
  889. <xs:maxLength value="50" />
  890. </xs:restriction>
  891. </xs:simpleType>
  892. </xs:element>
  893. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  894. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  895. <xs:element name="КодОперативнойПамяти" msprop:Generator_ColumnVarNameInTable="columnКодОперативнойПамяти" msprop:Generator_ColumnPropNameInRow="КодОперативнойПамяти" msprop:Generator_ColumnPropNameInTable="КодОперативнойПамятиColumn" msprop:Generator_UserColumnName="КодОперативнойПамяти" type="xs:int" />
  896. </xs:sequence>
  897. </xs:complexType>
  898. </xs:element>
  899. <xs:element name="Пользователи" msprop:Generator_TableClassName="ПользователиDataTable" msprop:Generator_TableVarName="tableПользователи" msprop:Generator_TablePropName="Пользователи" msprop:Generator_RowDeletingName="ПользователиRowDeleting" msprop:Generator_RowChangingName="ПользователиRowChanging" msprop:Generator_RowEvHandlerName="ПользователиRowChangeEventHandler" msprop:Generator_RowDeletedName="ПользователиRowDeleted" msprop:Generator_UserTableName="Пользователи" msprop:Generator_RowChangedName="ПользователиRowChanged" msprop:Generator_RowEvArgName="ПользователиRowChangeEvent" msprop:Generator_RowClassName="ПользователиRow">
  900. <xs:complexType>
  901. <xs:sequence>
  902. <xs:element name="Логин" msprop:Generator_ColumnVarNameInTable="columnЛогин" msprop:Generator_ColumnPropNameInRow="Логин" msprop:Generator_ColumnPropNameInTable="ЛогинColumn" msprop:Generator_UserColumnName="Логин" minOccurs="0">
  903. <xs:simpleType>
  904. <xs:restriction base="xs:string">
  905. <xs:maxLength value="50" />
  906. </xs:restriction>
  907. </xs:simpleType>
  908. </xs:element>
  909. <xs:element name="Пароль" msprop:Generator_ColumnVarNameInTable="columnПароль" msprop:Generator_ColumnPropNameInRow="Пароль" msprop:Generator_ColumnPropNameInTable="ПарольColumn" msprop:Generator_UserColumnName="Пароль" minOccurs="0">
  910. <xs:simpleType>
  911. <xs:restriction base="xs:string">
  912. <xs:maxLength value="50" />
  913. </xs:restriction>
  914. </xs:simpleType>
  915. </xs:element>
  916. <xs:element name="КодПользователя" msprop:Generator_ColumnVarNameInTable="columnКодПользователя" msprop:Generator_ColumnPropNameInRow="КодПользователя" msprop:Generator_ColumnPropNameInTable="КодПользователяColumn" msprop:Generator_UserColumnName="КодПользователя" type="xs:int" />
  917. </xs:sequence>
  918. </xs:complexType>
  919. </xs:element>
  920. <xs:element name="Процессоры" msprop:Generator_TableClassName="ПроцессорыDataTable" msprop:Generator_TableVarName="tableПроцессоры" msprop:Generator_TablePropName="Процессоры" msprop:Generator_RowDeletingName="ПроцессорыRowDeleting" msprop:Generator_RowChangingName="ПроцессорыRowChanging" msprop:Generator_RowEvHandlerName="ПроцессорыRowChangeEventHandler" msprop:Generator_RowDeletedName="ПроцессорыRowDeleted" msprop:Generator_UserTableName="Процессоры" msprop:Generator_RowChangedName="ПроцессорыRowChanged" msprop:Generator_RowEvArgName="ПроцессорыRowChangeEvent" msprop:Generator_RowClassName="ПроцессорыRow">
  921. <xs:complexType>
  922. <xs:sequence>
  923. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  924. <xs:simpleType>
  925. <xs:restriction base="xs:string">
  926. <xs:maxLength value="50" />
  927. </xs:restriction>
  928. </xs:simpleType>
  929. </xs:element>
  930. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  931. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  932. <xs:element name="КодПроцессора" msprop:Generator_ColumnVarNameInTable="columnКодПроцессора" msprop:Generator_ColumnPropNameInRow="КодПроцессора" msprop:Generator_ColumnPropNameInTable="КодПроцессораColumn" msprop:Generator_UserColumnName="КодПроцессора" type="xs:int" />
  933. </xs:sequence>
  934. </xs:complexType>
  935. </xs:element>
  936. <xs:element name="ССД" msprop:Generator_TableClassName="ССДDataTable" msprop:Generator_TableVarName="tableССД" msprop:Generator_TablePropName="ССД" msprop:Generator_RowDeletingName="ССДRowDeleting" msprop:Generator_RowChangingName="ССДRowChanging" msprop:Generator_RowEvHandlerName="ССДRowChangeEventHandler" msprop:Generator_RowDeletedName="ССДRowDeleted" msprop:Generator_UserTableName="ССД" msprop:Generator_RowChangedName="ССДRowChanged" msprop:Generator_RowEvArgName="ССДRowChangeEvent" msprop:Generator_RowClassName="ССДRow">
  937. <xs:complexType>
  938. <xs:sequence>
  939. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  940. <xs:simpleType>
  941. <xs:restriction base="xs:string">
  942. <xs:maxLength value="50" />
  943. </xs:restriction>
  944. </xs:simpleType>
  945. </xs:element>
  946. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  947. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  948. <xs:element name="КодССД" msprop:Generator_ColumnVarNameInTable="columnКодССД" msprop:Generator_ColumnPropNameInRow="КодССД" msprop:Generator_ColumnPropNameInTable="КодССДColumn" msprop:Generator_UserColumnName="КодССД" type="xs:int" />
  949. </xs:sequence>
  950. </xs:complexType>
  951. </xs:element>
  952. </xs:choice>
  953. </xs:complexType>
  954. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  955. <xs:selector xpath=".//mstns:БлокПитания" />
  956. <xs:field xpath="mstns:КодБлокаПитания" />
  957. </xs:unique>
  958. <xs:unique name="Видеокарты_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  959. <xs:selector xpath=".//mstns:Видеокарты" />
  960. <xs:field xpath="mstns:КодВидеокарты" />
  961. </xs:unique>
  962. <xs:unique name="ВодянаяСистемаОхлаждения_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  963. <xs:selector xpath=".//mstns:ВодянаяСистемаОхлаждения" />
  964. <xs:field xpath="mstns:КодВодянойСистемы" />
  965. </xs:unique>
  966. <xs:unique name="ГотоваяСборка_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  967. <xs:selector xpath=".//mstns:ГотоваяСборка" />
  968. <xs:field xpath="mstns:КодСборки" />
  969. </xs:unique>
  970. <xs:unique name="ЖесткийДиск_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  971. <xs:selector xpath=".//mstns:ЖесткийДиск" />
  972. <xs:field xpath="mstns:КодЖесткогоДиска" />
  973. </xs:unique>
  974. <xs:unique name="Кулеры_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  975. <xs:selector xpath=".//mstns:Кулеры" />
  976. <xs:field xpath="mstns:КодКулера" />
  977. </xs:unique>
  978. <xs:unique name="МатеринскаяПлата_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  979. <xs:selector xpath=".//mstns:МатеринскаяПлата" />
  980. <xs:field xpath="mstns:КодМатеринскойПлаты" />
  981. </xs:unique>
  982. <xs:unique name="ОперативнаяПамять_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  983. <xs:selector xpath=".//mstns:ОперативнаяПамять" />
  984. <xs:field xpath="mstns:КодОперативнойПамяти" />
  985. </xs:unique>
  986. <xs:unique name="Пользователи_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  987. <xs:selector xpath=".//mstns:Пользователи" />
  988. <xs:field xpath="mstns:КодПользователя" />
  989. </xs:unique>
  990. <xs:unique name="Процессоры_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  991. <xs:selector xpath=".//mstns:Процессоры" />
  992. <xs:field xpath="mstns:КодПроцессора" />
  993. </xs:unique>
  994. <xs:unique name="ССД_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  995. <xs:selector xpath=".//mstns:ССД" />
  996. <xs:field xpath="mstns:КодССД" />
  997. </xs:unique>
  998. </xs:element>
  999. <xs:annotation>
  1000. <xs:appinfo>
  1001. <msdata:Relationship name="FK_ГотоваяСборка_БлокПитания" msdata:parent="БлокПитания" msdata:child="ГотоваяСборка" msdata:parentkey="КодБлокаПитания" msdata:childkey="КодБлокаПитания" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_БлокПитания" msprop:Generator_ParentPropName="БлокПитанияRow" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_БлокПитания" msprop:Generator_UserParentTable="БлокПитания" />
  1002. <msdata:Relationship name="FK_ГотоваяСборка_Видеокарты" msdata:parent="Видеокарты" msdata:child="ГотоваяСборка" msdata:parentkey="КодВидеокарты" msdata:childkey="КодВидеокарты" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_Видеокарты" msprop:Generator_ParentPropName="ВидеокартыRow" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_Видеокарты" msprop:Generator_UserParentTable="Видеокарты" />
  1003. <msdata:Relationship name="FK_ГотоваяСборка_ВодянаяСистемаОхлаждения" msdata:parent="ВодянаяСистемаОхлаждения" msdata:child="ГотоваяСборка" msdata:parentkey="КодВодянойСистемы" msdata:childkey="КодВодянойСистемы" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_ВодянаяСистемаОхлаждения" msprop:Generator_ParentPropName="ВодянаяСистемаОхлажденияRow" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_ВодянаяСистемаОхлаждения" msprop:Generator_UserParentTable="ВодянаяСистемаОхлаждения" />
  1004. <msdata:Relationship name="FK_ГотоваяСборка_ЖесткийДиск" msdata:parent="ЖесткийДиск" msdata:child="ГотоваяСборка" msdata:parentkey="КодЖесткогоДиска" msdata:childkey="КодЖесткогоДиска" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_ЖесткийДиск" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_ЖесткийДиск" msprop:Generator_UserParentTable="ЖесткийДиск" msprop:Generator_ParentPropName="ЖесткийДискRow" />
  1005. <msdata:Relationship name="FK_ГотоваяСборка_Кулеры" msdata:parent="Кулеры" msdata:child="ГотоваяСборка" msdata:parentkey="КодКулера" msdata:childkey="КодКулера" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_Кулеры" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_Кулеры" msprop:Generator_UserParentTable="Кулеры" msprop:Generator_ParentPropName="КулерыRow" />
  1006. <msdata:Relationship name="FK_ГотоваяСборка_МатеринскаяПлата" msdata:parent="МатеринскаяПлата" msdata:child="ГотоваяСборка" msdata:parentkey="КодМатеринскойПлаты" msdata:childkey="КодМатеринскойПлаты" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_МатеринскаяПлата" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_МатеринскаяПлата" msprop:Generator_UserParentTable="МатеринскаяПлата" msprop:Generator_ParentPropName="МатеринскаяПлатаRow" />
  1007. <msdata:Relationship name="FK_ГотоваяСборка_ОперативнаяПамять" msdata:parent="ОперативнаяПамять" msdata:child="ГотоваяСборка" msdata:parentkey="КодОперативнойПамяти" msdata:childkey="КодОперативнойПамяти" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_ОперативнаяПамять" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_ОперативнаяПамять" msprop:Generator_UserParentTable="ОперативнаяПамять" msprop:Generator_ParentPropName="ОперативнаяПамятьRow" />
  1008. <msdata:Relationship name="FK_ГотоваяСборка_Пользователи" msdata:parent="Пользователи" msdata:child="ГотоваяСборка" msdata:parentkey="КодПользователя" msdata:childkey="Сотрудник" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_Пользователи" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_Пользователи" msprop:Generator_UserParentTable="Пользователи" msprop:Generator_ParentPropName="ПользователиRow" />
  1009. <msdata:Relationship name="FK_ГотоваяСборка_Процессоры" msdata:parent="Процессоры" msdata:child="ГотоваяСборка" msdata:parentkey="КодПроцессора" msdata:childkey="КодПроцессора" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_Процессоры" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_Процессоры" msprop:Generator_UserParentTable="Процессоры" msprop:Generator_ParentPropName="ПроцессорыRow" />
  1010. <msdata:Relationship name="FK_ГотоваяСборка_ССД" msdata:parent="ССД" msdata:child="ГотоваяСборка" msdata:parentkey="КодССД" msdata:childkey="КодССД" msprop:Generator_UserChildTable="ГотоваяСборка" msprop:Generator_ChildPropName="GetГотоваяСборкаRows" msprop:Generator_UserRelationName="FK_ГотоваяСборка_ССД" msprop:Generator_RelationVarName="relationFK_ГотоваяСборка_ССД" msprop:Generator_UserParentTable="ССД" msprop:Generator_ParentPropName="ССДRow" />
  1011. </xs:appinfo>
  1012. </xs:annotation>
  1013. </xs:schema>