OOOTORG_LebedenkoDataSet.xsd 171 KB

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