IS31Kiselev5DataSet.xsd 73 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="IS31Kiselev5DataSet" targetNamespace="http://tempuri.org/IS31Kiselev5DataSet.xsd" xmlns:mstns="http://tempuri.org/IS31Kiselev5DataSet.xsd" xmlns="http://tempuri.org/IS31Kiselev5DataSet.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="IS31Kiselev5ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="IS31Kiselev5ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.IS31Kiselev5.Properties.Settings.GlobalReference.Default.IS31Kiselev5ConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="моделиTableAdapter" GeneratorDataComponentClassName="моделиTableAdapter" Name="модели" UserDataComponentName="моделиTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.модели" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  13. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>DELETE FROM [dbo].[модели] WHERE (([код модели] = @Original_код_модели) AND ((@IsNull_код_товара = 1 AND [код товара] IS NULL) OR ([код товара] = @Original_код_товара)) AND ((@IsNull_цена_модели = 1 AND [цена модели] IS NULL) OR ([цена модели] = @Original_цена_модели)))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_модели" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код модели" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_код_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_товара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_цена_модели" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="цена модели" SourceColumnNullMapping="true" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_цена_модели" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="цена модели" SourceColumnNullMapping="false" SourceVersion="Original" />
  22. </Parameters>
  23. </DbCommand>
  24. </DeleteCommand>
  25. <InsertCommand>
  26. <DbCommand CommandType="Text" ModifiedByUser="false">
  27. <CommandText>INSERT INTO [dbo].[модели] ([наименование модели], [код товара], [цена модели]) VALUES (@наименование_модели, @код_товара, @цена_модели);
  28. SELECT [код модели], [наименование модели], [код товара], [цена модели] FROM модели WHERE ([код модели] = SCOPE_IDENTITY())</CommandText>
  29. <Parameters>
  30. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@наименование_модели" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="наименование модели" SourceColumnNullMapping="false" SourceVersion="Current" />
  31. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@код_товара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  32. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@цена_модели" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="цена модели" SourceColumnNullMapping="false" SourceVersion="Current" />
  33. </Parameters>
  34. </DbCommand>
  35. </InsertCommand>
  36. <SelectCommand>
  37. <DbCommand CommandType="Text" ModifiedByUser="false">
  38. <CommandText>SELECT [код модели], [наименование модели], [код товара], [цена модели] FROM dbo.модели</CommandText>
  39. <Parameters />
  40. </DbCommand>
  41. </SelectCommand>
  42. <UpdateCommand>
  43. <DbCommand CommandType="Text" ModifiedByUser="false">
  44. <CommandText>UPDATE [dbo].[модели] SET [наименование модели] = @наименование_модели, [код товара] = @код_товара, [цена модели] = @цена_модели WHERE (([код модели] = @Original_код_модели) AND ((@IsNull_код_товара = 1 AND [код товара] IS NULL) OR ([код товара] = @Original_код_товара)) AND ((@IsNull_цена_модели = 1 AND [цена модели] IS NULL) OR ([цена модели] = @Original_цена_модели)));
  45. SELECT [код модели], [наименование модели], [код товара], [цена модели] FROM модели WHERE ([код модели] = @код_модели)</CommandText>
  46. <Parameters>
  47. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@наименование_модели" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="наименование модели" SourceColumnNullMapping="false" SourceVersion="Current" />
  48. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@код_товара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  49. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@цена_модели" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="цена модели" SourceColumnNullMapping="false" SourceVersion="Current" />
  50. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_модели" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код модели" SourceColumnNullMapping="false" SourceVersion="Original" />
  51. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_код_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  52. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_товара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  53. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_цена_модели" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="цена модели" SourceColumnNullMapping="true" SourceVersion="Original" />
  54. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_цена_модели" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="цена модели" SourceColumnNullMapping="false" SourceVersion="Original" />
  55. <Parameter AllowDbNull="false" AutogeneratedName="код_модели" ColumnName="код модели" DataSourceName="IS31Kiselev5.dbo.модели" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@код_модели" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="код модели" SourceColumnNullMapping="false" SourceVersion="Current" />
  56. </Parameters>
  57. </DbCommand>
  58. </UpdateCommand>
  59. </DbSource>
  60. </MainSource>
  61. <Mappings>
  62. <Mapping SourceColumn="код модели" DataSetColumn="код модели" />
  63. <Mapping SourceColumn="наименование модели" DataSetColumn="наименование модели" />
  64. <Mapping SourceColumn="код товара" DataSetColumn="код товара" />
  65. <Mapping SourceColumn="цена модели" DataSetColumn="цена модели" />
  66. </Mappings>
  67. <Sources />
  68. </TableAdapter>
  69. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="поступленияTableAdapter" GeneratorDataComponentClassName="поступленияTableAdapter" Name="поступления" UserDataComponentName="поступленияTableAdapter">
  70. <MainSource>
  71. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.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">
  72. <DeleteCommand>
  73. <DbCommand CommandType="Text" ModifiedByUser="false">
  74. <CommandText>DELETE FROM [dbo].[поступления] WHERE (([код поступления] = @Original_код_поступления) AND ((@IsNull_код_модели = 1 AND [код модели] IS NULL) OR ([код модели] = @Original_код_модели)) AND ((@IsNull_дата_поступления = 1 AND [дата поступления] IS NULL) OR ([дата поступления] = @Original_дата_поступления)))</CommandText>
  75. <Parameters>
  76. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_поступления" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код поступления" SourceColumnNullMapping="false" SourceVersion="Original" />
  77. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_код_модели" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код модели" SourceColumnNullMapping="true" SourceVersion="Original" />
  78. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_модели" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код модели" SourceColumnNullMapping="false" SourceVersion="Original" />
  79. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата_поступления" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата поступления" SourceColumnNullMapping="true" SourceVersion="Original" />
  80. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_дата_поступления" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата поступления" SourceColumnNullMapping="false" SourceVersion="Original" />
  81. </Parameters>
  82. </DbCommand>
  83. </DeleteCommand>
  84. <InsertCommand>
  85. <DbCommand CommandType="Text" ModifiedByUser="false">
  86. <CommandText>INSERT INTO [dbo].[поступления] ([код модели], [дата поступления], [модели товара], [количество, шт.], [кто принял товар]) VALUES (@код_модели, @дата_поступления, @модели_товара, @p1, @кто_принял_товар);
  87. SELECT [код поступления], [код модели], [дата поступления], [модели товара], [количество, шт.], [кто принял товар] FROM поступления WHERE ([код поступления] = SCOPE_IDENTITY())</CommandText>
  88. <Parameters>
  89. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@код_модели" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код модели" SourceColumnNullMapping="false" SourceVersion="Current" />
  90. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@дата_поступления" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата поступления" SourceColumnNullMapping="false" SourceVersion="Current" />
  91. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@модели_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="модели товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  92. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="количество, шт." SourceColumnNullMapping="false" SourceVersion="Current" />
  93. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@кто_принял_товар" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="кто принял товар" SourceColumnNullMapping="false" SourceVersion="Current" />
  94. </Parameters>
  95. </DbCommand>
  96. </InsertCommand>
  97. <SelectCommand>
  98. <DbCommand CommandType="Text" ModifiedByUser="false">
  99. <CommandText>SELECT [код поступления], [код модели], [дата поступления], [модели товара], [количество, шт.], [кто принял товар] FROM dbo.поступления</CommandText>
  100. <Parameters />
  101. </DbCommand>
  102. </SelectCommand>
  103. <UpdateCommand>
  104. <DbCommand CommandType="Text" ModifiedByUser="false">
  105. <CommandText>UPDATE [dbo].[поступления] SET [код модели] = @код_модели, [дата поступления] = @дата_поступления, [модели товара] = @модели_товара, [количество, шт.] = @p1, [кто принял товар] = @кто_принял_товар WHERE (([код поступления] = @Original_код_поступления) AND ((@IsNull_код_модели = 1 AND [код модели] IS NULL) OR ([код модели] = @Original_код_модели)) AND ((@IsNull_дата_поступления = 1 AND [дата поступления] IS NULL) OR ([дата поступления] = @Original_дата_поступления)));
  106. SELECT [код поступления], [код модели], [дата поступления], [модели товара], [количество, шт.], [кто принял товар] FROM поступления WHERE ([код поступления] = @код_поступления)</CommandText>
  107. <Parameters>
  108. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@код_модели" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код модели" SourceColumnNullMapping="false" SourceVersion="Current" />
  109. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@дата_поступления" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата поступления" SourceColumnNullMapping="false" SourceVersion="Current" />
  110. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@модели_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="модели товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  111. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="количество, шт." SourceColumnNullMapping="false" SourceVersion="Current" />
  112. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@кто_принял_товар" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="кто принял товар" SourceColumnNullMapping="false" SourceVersion="Current" />
  113. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_поступления" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код поступления" SourceColumnNullMapping="false" SourceVersion="Original" />
  114. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_код_модели" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код модели" SourceColumnNullMapping="true" SourceVersion="Original" />
  115. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_модели" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код модели" SourceColumnNullMapping="false" SourceVersion="Original" />
  116. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата_поступления" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата поступления" SourceColumnNullMapping="true" SourceVersion="Original" />
  117. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_дата_поступления" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата поступления" SourceColumnNullMapping="false" SourceVersion="Original" />
  118. <Parameter AllowDbNull="false" AutogeneratedName="код_поступления" ColumnName="код поступления" DataSourceName="IS31Kiselev5.dbo.поступления" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@код_поступления" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="код поступления" SourceColumnNullMapping="false" SourceVersion="Current" />
  119. </Parameters>
  120. </DbCommand>
  121. </UpdateCommand>
  122. </DbSource>
  123. </MainSource>
  124. <Mappings>
  125. <Mapping SourceColumn="код поступления" DataSetColumn="код поступления" />
  126. <Mapping SourceColumn="код модели" DataSetColumn="код модели" />
  127. <Mapping SourceColumn="дата поступления" DataSetColumn="дата поступления" />
  128. <Mapping SourceColumn="модели товара" DataSetColumn="модели товара" />
  129. <Mapping SourceColumn="количество, шт." DataSetColumn="количество, шт_" />
  130. <Mapping SourceColumn="кто принял товар" DataSetColumn="кто принял товар" />
  131. </Mappings>
  132. <Sources />
  133. </TableAdapter>
  134. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="товарTableAdapter" GeneratorDataComponentClassName="товарTableAdapter" Name="товар" UserDataComponentName="товарTableAdapter">
  135. <MainSource>
  136. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.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">
  137. <DeleteCommand>
  138. <DbCommand CommandType="Text" ModifiedByUser="false">
  139. <CommandText>DELETE FROM [dbo].[товар] WHERE (([код товара] = @Original_код_товара))</CommandText>
  140. <Parameters>
  141. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_товара" Precision="0" ProviderType="BigInt" 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 ([код товара] = SCOPE_IDENTITY())</CommandText>
  149. <Parameters>
  150. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@наименование_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="наименование товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  151. </Parameters>
  152. </DbCommand>
  153. </InsertCommand>
  154. <SelectCommand>
  155. <DbCommand CommandType="Text" ModifiedByUser="false">
  156. <CommandText>SELECT [код товара], [наименование товара] FROM dbo.товар</CommandText>
  157. <Parameters />
  158. </DbCommand>
  159. </SelectCommand>
  160. <UpdateCommand>
  161. <DbCommand CommandType="Text" ModifiedByUser="false">
  162. <CommandText>UPDATE [dbo].[товар] SET [наименование товара] = @наименование_товара WHERE (([код товара] = @Original_код_товара));
  163. SELECT [код товара], [наименование товара] FROM товар WHERE ([код товара] = @код_товара)</CommandText>
  164. <Parameters>
  165. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@наименование_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="наименование товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  166. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_код_товара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="код товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  167. <Parameter AllowDbNull="false" AutogeneratedName="код_товара" ColumnName="код товара" DataSourceName="IS31Kiselev5.dbo.товар" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@код_товара" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="код товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  168. </Parameters>
  169. </DbCommand>
  170. </UpdateCommand>
  171. </DbSource>
  172. </MainSource>
  173. <Mappings>
  174. <Mapping SourceColumn="код товара" DataSetColumn="код товара" />
  175. <Mapping SourceColumn="наименование товара" DataSetColumn="наименование товара" />
  176. </Mappings>
  177. <Sources />
  178. </TableAdapter>
  179. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="2-ое полугодиеTableAdapter" GeneratorDataComponentClassName="_2_ое_полугодиеTableAdapter" Name="2-ое полугодие" UserDataComponentName="2-ое полугодиеTableAdapter">
  180. <MainSource>
  181. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.[2-ое полугодие]" 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">
  182. <SelectCommand>
  183. <DbCommand CommandType="Text" ModifiedByUser="false">
  184. <CommandText>SELECT [наименование модели], [дата поступления] FROM dbo.[2-ое полугодие]</CommandText>
  185. <Parameters />
  186. </DbCommand>
  187. </SelectCommand>
  188. </DbSource>
  189. </MainSource>
  190. <Mappings>
  191. <Mapping SourceColumn="наименование модели" DataSetColumn="наименование модели" />
  192. <Mapping SourceColumn="дата поступления" DataSetColumn="дата поступления" />
  193. </Mappings>
  194. <Sources />
  195. </TableAdapter>
  196. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="дата модель товар кол-во ценаTableAdapter" GeneratorDataComponentClassName="дата_модель_товар_кол_во_ценаTableAdapter" Name="дата модель товар кол-во цена" UserDataComponentName="дата модель товар кол-во ценаTableAdapter">
  197. <MainSource>
  198. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.[дата модель товар кол-во цена]" 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">
  199. <SelectCommand>
  200. <DbCommand CommandType="Text" ModifiedByUser="false">
  201. <CommandText>SELECT [дата поступления товара], [название модели], [название товара], количество, цена FROM dbo.[дата модель товар кол-во цена]</CommandText>
  202. <Parameters />
  203. </DbCommand>
  204. </SelectCommand>
  205. </DbSource>
  206. </MainSource>
  207. <Mappings>
  208. <Mapping SourceColumn="дата поступления товара" DataSetColumn="дата поступления товара" />
  209. <Mapping SourceColumn="название модели" DataSetColumn="название модели" />
  210. <Mapping SourceColumn="название товара" DataSetColumn="название товара" />
  211. <Mapping SourceColumn="количество" DataSetColumn="количество" />
  212. <Mapping SourceColumn="цена" DataSetColumn="цена" />
  213. </Mappings>
  214. <Sources />
  215. </TableAdapter>
  216. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ИвановTableAdapter" GeneratorDataComponentClassName="ИвановTableAdapter" Name="Иванов" UserDataComponentName="ИвановTableAdapter">
  217. <MainSource>
  218. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.Иванов" 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">
  219. <SelectCommand>
  220. <DbCommand CommandType="Text" ModifiedByUser="false">
  221. <CommandText>SELECT [наименование модели], [кто принял товар] FROM dbo.Иванов</CommandText>
  222. <Parameters />
  223. </DbCommand>
  224. </SelectCommand>
  225. </DbSource>
  226. </MainSource>
  227. <Mappings>
  228. <Mapping SourceColumn="наименование модели" DataSetColumn="наименование модели" />
  229. <Mapping SourceColumn="кто принял товар" DataSetColumn="кто принял товар" />
  230. </Mappings>
  231. <Sources />
  232. </TableAdapter>
  233. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="меньше 15к штукTableAdapter" GeneratorDataComponentClassName="меньше_15к_штукTableAdapter" Name="меньше 15к штук" UserDataComponentName="меньше 15к штукTableAdapter">
  234. <MainSource>
  235. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.[меньше 15к штук]" 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">
  236. <SelectCommand>
  237. <DbCommand CommandType="Text" ModifiedByUser="false">
  238. <CommandText>SELECT [кто принял товар], [количество, шт.] FROM dbo.[меньше 15к штук]</CommandText>
  239. <Parameters />
  240. </DbCommand>
  241. </SelectCommand>
  242. </DbSource>
  243. </MainSource>
  244. <Mappings>
  245. <Mapping SourceColumn="кто принял товар" DataSetColumn="кто принял товар" />
  246. <Mapping SourceColumn="количество, шт." DataSetColumn="количество, шт_" />
  247. </Mappings>
  248. <Sources />
  249. </TableAdapter>
  250. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="модели 1-го полугодияTableAdapter" GeneratorDataComponentClassName="модели_1_го_полугодияTableAdapter" Name="модели 1-го полугодия" UserDataComponentName="модели 1-го полугодияTableAdapter">
  251. <MainSource>
  252. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.[модели 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">
  253. <SelectCommand>
  254. <DbCommand CommandType="Text" ModifiedByUser="false">
  255. <CommandText>SELECT [дата поступления], [наименование модели] FROM dbo.[модели 1-го полугодия]</CommandText>
  256. <Parameters />
  257. </DbCommand>
  258. </SelectCommand>
  259. </DbSource>
  260. </MainSource>
  261. <Mappings>
  262. <Mapping SourceColumn="дата поступления" DataSetColumn="дата поступления" />
  263. <Mapping SourceColumn="наименование модели" DataSetColumn="наименование модели" />
  264. </Mappings>
  265. <Sources />
  266. </TableAdapter>
  267. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="модель товарTableAdapter" GeneratorDataComponentClassName="модель_товарTableAdapter" Name="модель товар" UserDataComponentName="модель товарTableAdapter">
  268. <MainSource>
  269. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.[модель товар]" 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">
  270. <SelectCommand>
  271. <DbCommand CommandType="Text" ModifiedByUser="false">
  272. <CommandText>SELECT [название товара], [название модели] FROM dbo.[модель товар]</CommandText>
  273. <Parameters />
  274. </DbCommand>
  275. </SelectCommand>
  276. </DbSource>
  277. </MainSource>
  278. <Mappings>
  279. <Mapping SourceColumn="название товара" DataSetColumn="название товара" />
  280. <Mapping SourceColumn="название модели" DataSetColumn="название модели" />
  281. </Mappings>
  282. <Sources />
  283. </TableAdapter>
  284. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="название модели до 500 рублейTableAdapter" GeneratorDataComponentClassName="название_модели_до_500_рублейTableAdapter" Name="название модели до 500 рублей" UserDataComponentName="название модели до 500 рублейTableAdapter">
  285. <MainSource>
  286. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.[название модели до 500 рублей]" 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">
  287. <SelectCommand>
  288. <DbCommand CommandType="Text" ModifiedByUser="false">
  289. <CommandText>SELECT [наименование модели], [цена модели] FROM dbo.[название модели до 500 рублей]</CommandText>
  290. <Parameters />
  291. </DbCommand>
  292. </SelectCommand>
  293. </DbSource>
  294. </MainSource>
  295. <Mappings>
  296. <Mapping SourceColumn="наименование модели" DataSetColumn="наименование модели" />
  297. <Mapping SourceColumn="цена модели" DataSetColumn="цена модели" />
  298. </Mappings>
  299. <Sources />
  300. </TableAdapter>
  301. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="связь товар+модели+поступленияTableAdapter" GeneratorDataComponentClassName="связь_товар_модели_поступленияTableAdapter" Name="связь товар+модели+поступления" UserDataComponentName="связь товар+модели+поступленияTableAdapter">
  302. <MainSource>
  303. <DbSource ConnectionRef="IS31Kiselev5ConnectionString (Settings)" DbObjectName="IS31Kiselev5.dbo.[связь товар+модели+поступления]" 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">
  304. <SelectCommand>
  305. <DbCommand CommandType="Text" ModifiedByUser="false">
  306. <CommandText>SELECT [наименование товара], [наименование модели], [цена модели], [дата поступления], [модели товара], [количество, шт.], [кто принял товар] FROM dbo.[связь товар+модели+поступления]</CommandText>
  307. <Parameters />
  308. </DbCommand>
  309. </SelectCommand>
  310. </DbSource>
  311. </MainSource>
  312. <Mappings>
  313. <Mapping SourceColumn="наименование товара" DataSetColumn="наименование товара" />
  314. <Mapping SourceColumn="наименование модели" DataSetColumn="наименование модели" />
  315. <Mapping SourceColumn="цена модели" DataSetColumn="цена модели" />
  316. <Mapping SourceColumn="дата поступления" DataSetColumn="дата поступления" />
  317. <Mapping SourceColumn="модели товара" DataSetColumn="модели товара" />
  318. <Mapping SourceColumn="количество, шт." DataSetColumn="количество, шт_" />
  319. <Mapping SourceColumn="кто принял товар" DataSetColumn="кто принял товар" />
  320. </Mappings>
  321. <Sources />
  322. </TableAdapter>
  323. </Tables>
  324. <Sources />
  325. </DataSource>
  326. </xs:appinfo>
  327. </xs:annotation>
  328. <xs:element name="IS31Kiselev5DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="IS31Kiselev5DataSet" msprop:Generator_UserDSName="IS31Kiselev5DataSet">
  329. <xs:complexType>
  330. <xs:choice minOccurs="0" maxOccurs="unbounded">
  331. <xs:element name="модели" msprop:Generator_TableClassName="моделиDataTable" msprop:Generator_TableVarName="tableмодели" msprop:Generator_TablePropName="модели" msprop:Generator_RowDeletingName="моделиRowDeleting" msprop:Generator_RowChangingName="моделиRowChanging" msprop:Generator_RowEvHandlerName="моделиRowChangeEventHandler" msprop:Generator_RowDeletedName="моделиRowDeleted" msprop:Generator_UserTableName="модели" msprop:Generator_RowChangedName="моделиRowChanged" msprop:Generator_RowEvArgName="моделиRowChangeEvent" msprop:Generator_RowClassName="моделиRow">
  332. <xs:complexType>
  333. <xs:sequence>
  334. <xs:element name="код_x0020_модели" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnкод_модели" msprop:Generator_ColumnPropNameInRow="код_модели" msprop:Generator_ColumnPropNameInTable="код_моделиColumn" msprop:Generator_UserColumnName="код модели" type="xs:long" />
  335. <xs:element name="наименование_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnнаименование_модели" msprop:Generator_ColumnPropNameInRow="наименование_модели" msprop:Generator_ColumnPropNameInTable="наименование_моделиColumn" msprop:Generator_UserColumnName="наименование модели" minOccurs="0">
  336. <xs:simpleType>
  337. <xs:restriction base="xs:string">
  338. <xs:maxLength value="2147483647" />
  339. </xs:restriction>
  340. </xs:simpleType>
  341. </xs:element>
  342. <xs:element name="код_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnкод_товара" msprop:Generator_ColumnPropNameInRow="код_товара" msprop:Generator_ColumnPropNameInTable="код_товараColumn" msprop:Generator_UserColumnName="код товара" type="xs:long" minOccurs="0" />
  343. <xs:element name="цена_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnцена_модели" msprop:Generator_ColumnPropNameInRow="цена_модели" msprop:Generator_ColumnPropNameInTable="цена_моделиColumn" msprop:Generator_UserColumnName="цена модели" type="xs:decimal" minOccurs="0" />
  344. </xs:sequence>
  345. </xs:complexType>
  346. </xs:element>
  347. <xs:element name="поступления" msprop:Generator_TableClassName="поступленияDataTable" msprop:Generator_TableVarName="tableпоступления" msprop:Generator_TablePropName="поступления" msprop:Generator_RowDeletingName="поступленияRowDeleting" msprop:Generator_RowChangingName="поступленияRowChanging" msprop:Generator_RowEvHandlerName="поступленияRowChangeEventHandler" msprop:Generator_RowDeletedName="поступленияRowDeleted" msprop:Generator_UserTableName="поступления" msprop:Generator_RowChangedName="поступленияRowChanged" msprop:Generator_RowEvArgName="поступленияRowChangeEvent" msprop:Generator_RowClassName="поступленияRow">
  348. <xs:complexType>
  349. <xs:sequence>
  350. <xs:element name="код_x0020_поступления" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnкод_поступления" msprop:Generator_ColumnPropNameInRow="код_поступления" msprop:Generator_ColumnPropNameInTable="код_поступленияColumn" msprop:Generator_UserColumnName="код поступления" type="xs:long" />
  351. <xs:element name="код_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnкод_модели" msprop:Generator_ColumnPropNameInRow="код_модели" msprop:Generator_ColumnPropNameInTable="код_моделиColumn" msprop:Generator_UserColumnName="код модели" type="xs:long" minOccurs="0" />
  352. <xs:element name="дата_x0020_поступления" msprop:Generator_ColumnVarNameInTable="columnдата_поступления" msprop:Generator_ColumnPropNameInRow="дата_поступления" msprop:Generator_ColumnPropNameInTable="дата_поступленияColumn" msprop:Generator_UserColumnName="дата поступления" type="xs:dateTime" minOccurs="0" />
  353. <xs:element name="модели_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnмодели_товара" msprop:Generator_ColumnPropNameInRow="модели_товара" msprop:Generator_ColumnPropNameInTable="модели_товараColumn" msprop:Generator_UserColumnName="модели товара" minOccurs="0">
  354. <xs:simpleType>
  355. <xs:restriction base="xs:string">
  356. <xs:maxLength value="2147483647" />
  357. </xs:restriction>
  358. </xs:simpleType>
  359. </xs:element>
  360. <xs:element name="количество_x002C__x0020_шт_" msprop:Generator_ColumnVarNameInTable="_columnколичество__шт_" msprop:Generator_ColumnPropNameInRow="_количество__шт_" msprop:Generator_ColumnPropNameInTable="_количество__шт_Column" msprop:Generator_UserColumnName="количество, шт_" minOccurs="0">
  361. <xs:simpleType>
  362. <xs:restriction base="xs:string">
  363. <xs:maxLength value="2147483647" />
  364. </xs:restriction>
  365. </xs:simpleType>
  366. </xs:element>
  367. <xs:element name="кто_x0020_принял_x0020_товар" msprop:Generator_ColumnVarNameInTable="columnкто_принял_товар" msprop:Generator_ColumnPropNameInRow="кто_принял_товар" msprop:Generator_ColumnPropNameInTable="кто_принял_товарColumn" msprop:Generator_UserColumnName="кто принял товар" minOccurs="0">
  368. <xs:simpleType>
  369. <xs:restriction base="xs:string">
  370. <xs:maxLength value="2147483647" />
  371. </xs:restriction>
  372. </xs:simpleType>
  373. </xs:element>
  374. </xs:sequence>
  375. </xs:complexType>
  376. </xs:element>
  377. <xs:element name="товар" msprop:Generator_TableClassName="товарDataTable" msprop:Generator_TableVarName="tableтовар" msprop:Generator_TablePropName="товар" msprop:Generator_RowDeletingName="товарRowDeleting" msprop:Generator_RowChangingName="товарRowChanging" msprop:Generator_RowEvHandlerName="товарRowChangeEventHandler" msprop:Generator_RowDeletedName="товарRowDeleted" msprop:Generator_UserTableName="товар" msprop:Generator_RowChangedName="товарRowChanged" msprop:Generator_RowEvArgName="товарRowChangeEvent" msprop:Generator_RowClassName="товарRow">
  378. <xs:complexType>
  379. <xs:sequence>
  380. <xs:element name="код_x0020_товара" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnкод_товара" msprop:Generator_ColumnPropNameInRow="код_товара" msprop:Generator_ColumnPropNameInTable="код_товараColumn" msprop:Generator_UserColumnName="код товара" type="xs:long" />
  381. <xs:element name="наименование_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnнаименование_товара" msprop:Generator_ColumnPropNameInRow="наименование_товара" msprop:Generator_ColumnPropNameInTable="наименование_товараColumn" msprop:Generator_UserColumnName="наименование товара" minOccurs="0">
  382. <xs:simpleType>
  383. <xs:restriction base="xs:string">
  384. <xs:maxLength value="2147483647" />
  385. </xs:restriction>
  386. </xs:simpleType>
  387. </xs:element>
  388. </xs:sequence>
  389. </xs:complexType>
  390. </xs:element>
  391. <xs:element name="_x0032_-ое_x0020_полугодие" msprop:Generator_TableClassName="_2_ое_полугодиеDataTable" msprop:Generator_TableVarName="_table2_ое_полугодие" msprop:Generator_TablePropName="_2_ое_полугодие" msprop:Generator_RowDeletingName="_2_ое_полугодиеRowDeleting" msprop:Generator_RowChangingName="_2_ое_полугодиеRowChanging" msprop:Generator_RowEvHandlerName="_2_ое_полугодиеRowChangeEventHandler" msprop:Generator_RowDeletedName="_2_ое_полугодиеRowDeleted" msprop:Generator_UserTableName="2-ое полугодие" msprop:Generator_RowChangedName="_2_ое_полугодиеRowChanged" msprop:Generator_RowEvArgName="_2_ое_полугодиеRowChangeEvent" msprop:Generator_RowClassName="_2_ое_полугодиеRow">
  392. <xs:complexType>
  393. <xs:sequence>
  394. <xs:element name="наименование_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnнаименование_модели" msprop:Generator_ColumnPropNameInRow="наименование_модели" msprop:Generator_ColumnPropNameInTable="наименование_моделиColumn" msprop:Generator_UserColumnName="наименование модели" minOccurs="0">
  395. <xs:simpleType>
  396. <xs:restriction base="xs:string">
  397. <xs:maxLength value="2147483647" />
  398. </xs:restriction>
  399. </xs:simpleType>
  400. </xs:element>
  401. <xs:element name="дата_x0020_поступления" msprop:Generator_ColumnVarNameInTable="columnдата_поступления" msprop:Generator_ColumnPropNameInRow="дата_поступления" msprop:Generator_ColumnPropNameInTable="дата_поступленияColumn" msprop:Generator_UserColumnName="дата поступления" type="xs:dateTime" minOccurs="0" />
  402. </xs:sequence>
  403. </xs:complexType>
  404. </xs:element>
  405. <xs:element name="дата_x0020_модель_x0020_товар_x0020_кол-во_x0020_цена" msprop:Generator_TableClassName="_дата_модель_товар_кол_во_ценаDataTable" msprop:Generator_TableVarName="_tableдата_модель_товар_кол_во_цена" msprop:Generator_TablePropName="_дата_модель_товар_кол_во_цена" msprop:Generator_RowDeletingName="_дата_модель_товар_кол_во_ценаRowDeleting" msprop:Generator_RowChangingName="_дата_модель_товар_кол_во_ценаRowChanging" msprop:Generator_RowEvHandlerName="_дата_модель_товар_кол_во_ценаRowChangeEventHandler" msprop:Generator_RowDeletedName="_дата_модель_товар_кол_во_ценаRowDeleted" msprop:Generator_UserTableName="дата модель товар кол-во цена" msprop:Generator_RowChangedName="_дата_модель_товар_кол_во_ценаRowChanged" msprop:Generator_RowEvArgName="_дата_модель_товар_кол_во_ценаRowChangeEvent" msprop:Generator_RowClassName="_дата_модель_товар_кол_во_ценаRow">
  406. <xs:complexType>
  407. <xs:sequence>
  408. <xs:element name="дата_x0020_поступления_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnдата_поступления_товара" msprop:Generator_ColumnPropNameInRow="дата_поступления_товара" msprop:Generator_ColumnPropNameInTable="дата_поступления_товараColumn" msprop:Generator_UserColumnName="дата поступления товара" type="xs:dateTime" minOccurs="0" />
  409. <xs:element name="название_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnназвание_модели" msprop:Generator_ColumnPropNameInRow="название_модели" msprop:Generator_ColumnPropNameInTable="название_моделиColumn" msprop:Generator_UserColumnName="название модели" minOccurs="0">
  410. <xs:simpleType>
  411. <xs:restriction base="xs:string">
  412. <xs:maxLength value="2147483647" />
  413. </xs:restriction>
  414. </xs:simpleType>
  415. </xs:element>
  416. <xs:element name="название_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnназвание_товара" msprop:Generator_ColumnPropNameInRow="название_товара" msprop:Generator_ColumnPropNameInTable="название_товараColumn" msprop:Generator_UserColumnName="название товара" minOccurs="0">
  417. <xs:simpleType>
  418. <xs:restriction base="xs:string">
  419. <xs:maxLength value="2147483647" />
  420. </xs:restriction>
  421. </xs:simpleType>
  422. </xs:element>
  423. <xs:element name="количество" msprop:Generator_ColumnVarNameInTable="columnколичество" msprop:Generator_ColumnPropNameInRow="количество" msprop:Generator_ColumnPropNameInTable="количествоColumn" msprop:Generator_UserColumnName="количество" minOccurs="0">
  424. <xs:simpleType>
  425. <xs:restriction base="xs:string">
  426. <xs:maxLength value="2147483647" />
  427. </xs:restriction>
  428. </xs:simpleType>
  429. </xs:element>
  430. <xs:element name="цена" msprop:Generator_ColumnVarNameInTable="columnцена" msprop:Generator_ColumnPropNameInRow="цена" msprop:Generator_ColumnPropNameInTable="ценаColumn" msprop:Generator_UserColumnName="цена" type="xs:decimal" minOccurs="0" />
  431. </xs:sequence>
  432. </xs:complexType>
  433. </xs:element>
  434. <xs:element name="Иванов" msprop:Generator_TableClassName="ИвановDataTable" msprop:Generator_TableVarName="tableИванов" msprop:Generator_TablePropName="Иванов" msprop:Generator_RowDeletingName="ИвановRowDeleting" msprop:Generator_RowChangingName="ИвановRowChanging" msprop:Generator_RowEvHandlerName="ИвановRowChangeEventHandler" msprop:Generator_RowDeletedName="ИвановRowDeleted" msprop:Generator_UserTableName="Иванов" msprop:Generator_RowChangedName="ИвановRowChanged" msprop:Generator_RowEvArgName="ИвановRowChangeEvent" msprop:Generator_RowClassName="ИвановRow">
  435. <xs:complexType>
  436. <xs:sequence>
  437. <xs:element name="наименование_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnнаименование_модели" msprop:Generator_ColumnPropNameInRow="наименование_модели" msprop:Generator_ColumnPropNameInTable="наименование_моделиColumn" msprop:Generator_UserColumnName="наименование модели" minOccurs="0">
  438. <xs:simpleType>
  439. <xs:restriction base="xs:string">
  440. <xs:maxLength value="2147483647" />
  441. </xs:restriction>
  442. </xs:simpleType>
  443. </xs:element>
  444. <xs:element name="кто_x0020_принял_x0020_товар" msprop:Generator_ColumnVarNameInTable="columnкто_принял_товар" msprop:Generator_ColumnPropNameInRow="кто_принял_товар" msprop:Generator_ColumnPropNameInTable="кто_принял_товарColumn" msprop:Generator_UserColumnName="кто принял товар" minOccurs="0">
  445. <xs:simpleType>
  446. <xs:restriction base="xs:string">
  447. <xs:maxLength value="2147483647" />
  448. </xs:restriction>
  449. </xs:simpleType>
  450. </xs:element>
  451. </xs:sequence>
  452. </xs:complexType>
  453. </xs:element>
  454. <xs:element name="меньше_x0020_15к_x0020_штук" msprop:Generator_TableClassName="меньше_15к_штукDataTable" msprop:Generator_TableVarName="tableменьше_15к_штук" msprop:Generator_TablePropName="меньше_15к_штук" msprop:Generator_RowDeletingName="меньше_15к_штукRowDeleting" msprop:Generator_RowChangingName="меньше_15к_штукRowChanging" msprop:Generator_RowEvHandlerName="меньше_15к_штукRowChangeEventHandler" msprop:Generator_RowDeletedName="меньше_15к_штукRowDeleted" msprop:Generator_UserTableName="меньше 15к штук" msprop:Generator_RowChangedName="меньше_15к_штукRowChanged" msprop:Generator_RowEvArgName="меньше_15к_штукRowChangeEvent" msprop:Generator_RowClassName="меньше_15к_штукRow">
  455. <xs:complexType>
  456. <xs:sequence>
  457. <xs:element name="кто_x0020_принял_x0020_товар" msprop:Generator_ColumnVarNameInTable="columnкто_принял_товар" msprop:Generator_ColumnPropNameInRow="кто_принял_товар" msprop:Generator_ColumnPropNameInTable="кто_принял_товарColumn" msprop:Generator_UserColumnName="кто принял товар" minOccurs="0">
  458. <xs:simpleType>
  459. <xs:restriction base="xs:string">
  460. <xs:maxLength value="2147483647" />
  461. </xs:restriction>
  462. </xs:simpleType>
  463. </xs:element>
  464. <xs:element name="количество_x002C__x0020_шт_" msprop:Generator_ColumnVarNameInTable="_columnколичество__шт_" msprop:Generator_ColumnPropNameInRow="_количество__шт_" msprop:Generator_ColumnPropNameInTable="_количество__шт_Column" msprop:Generator_UserColumnName="количество, шт_" minOccurs="0">
  465. <xs:simpleType>
  466. <xs:restriction base="xs:string">
  467. <xs:maxLength value="2147483647" />
  468. </xs:restriction>
  469. </xs:simpleType>
  470. </xs:element>
  471. </xs:sequence>
  472. </xs:complexType>
  473. </xs:element>
  474. <xs:element name="модели_x0020_1-го_x0020_полугодия" msprop:Generator_TableClassName="_модели_1_го_полугодияDataTable" msprop:Generator_TableVarName="_tableмодели_1_го_полугодия" msprop:Generator_TablePropName="_модели_1_го_полугодия" msprop:Generator_RowDeletingName="_модели_1_го_полугодияRowDeleting" msprop:Generator_RowChangingName="_модели_1_го_полугодияRowChanging" msprop:Generator_RowEvHandlerName="_модели_1_го_полугодияRowChangeEventHandler" msprop:Generator_RowDeletedName="_модели_1_го_полугодияRowDeleted" msprop:Generator_UserTableName="модели 1-го полугодия" msprop:Generator_RowChangedName="_модели_1_го_полугодияRowChanged" msprop:Generator_RowEvArgName="_модели_1_го_полугодияRowChangeEvent" msprop:Generator_RowClassName="_модели_1_го_полугодияRow">
  475. <xs:complexType>
  476. <xs:sequence>
  477. <xs:element name="дата_x0020_поступления" msprop:Generator_ColumnVarNameInTable="columnдата_поступления" msprop:Generator_ColumnPropNameInRow="дата_поступления" msprop:Generator_ColumnPropNameInTable="дата_поступленияColumn" msprop:Generator_UserColumnName="дата поступления" type="xs:dateTime" minOccurs="0" />
  478. <xs:element name="наименование_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnнаименование_модели" msprop:Generator_ColumnPropNameInRow="наименование_модели" msprop:Generator_ColumnPropNameInTable="наименование_моделиColumn" msprop:Generator_UserColumnName="наименование модели" minOccurs="0">
  479. <xs:simpleType>
  480. <xs:restriction base="xs:string">
  481. <xs:maxLength value="2147483647" />
  482. </xs:restriction>
  483. </xs:simpleType>
  484. </xs:element>
  485. </xs:sequence>
  486. </xs:complexType>
  487. </xs:element>
  488. <xs:element name="модель_x0020_товар" msprop:Generator_TableClassName="модель_товарDataTable" msprop:Generator_TableVarName="tableмодель_товар" msprop:Generator_TablePropName="модель_товар" msprop:Generator_RowDeletingName="модель_товарRowDeleting" msprop:Generator_RowChangingName="модель_товарRowChanging" msprop:Generator_RowEvHandlerName="модель_товарRowChangeEventHandler" msprop:Generator_RowDeletedName="модель_товарRowDeleted" msprop:Generator_UserTableName="модель товар" msprop:Generator_RowChangedName="модель_товарRowChanged" msprop:Generator_RowEvArgName="модель_товарRowChangeEvent" msprop:Generator_RowClassName="модель_товарRow">
  489. <xs:complexType>
  490. <xs:sequence>
  491. <xs:element name="название_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnназвание_товара" msprop:Generator_ColumnPropNameInRow="название_товара" msprop:Generator_ColumnPropNameInTable="название_товараColumn" msprop:Generator_UserColumnName="название товара" minOccurs="0">
  492. <xs:simpleType>
  493. <xs:restriction base="xs:string">
  494. <xs:maxLength value="2147483647" />
  495. </xs:restriction>
  496. </xs:simpleType>
  497. </xs:element>
  498. <xs:element name="название_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnназвание_модели" msprop:Generator_ColumnPropNameInRow="название_модели" msprop:Generator_ColumnPropNameInTable="название_моделиColumn" msprop:Generator_UserColumnName="название модели" minOccurs="0">
  499. <xs:simpleType>
  500. <xs:restriction base="xs:string">
  501. <xs:maxLength value="2147483647" />
  502. </xs:restriction>
  503. </xs:simpleType>
  504. </xs:element>
  505. </xs:sequence>
  506. </xs:complexType>
  507. </xs:element>
  508. <xs:element name="название_x0020_модели_x0020_до_x0020_500_x0020_рублей" msprop:Generator_TableClassName="название_модели_до_500_рублейDataTable" msprop:Generator_TableVarName="tableназвание_модели_до_500_рублей" msprop:Generator_TablePropName="название_модели_до_500_рублей" msprop:Generator_RowDeletingName="название_модели_до_500_рублейRowDeleting" msprop:Generator_RowChangingName="название_модели_до_500_рублейRowChanging" msprop:Generator_RowEvHandlerName="название_модели_до_500_рублейRowChangeEventHandler" msprop:Generator_RowDeletedName="название_модели_до_500_рублейRowDeleted" msprop:Generator_UserTableName="название модели до 500 рублей" msprop:Generator_RowChangedName="название_модели_до_500_рублейRowChanged" msprop:Generator_RowEvArgName="название_модели_до_500_рублейRowChangeEvent" msprop:Generator_RowClassName="название_модели_до_500_рублейRow">
  509. <xs:complexType>
  510. <xs:sequence>
  511. <xs:element name="наименование_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnнаименование_модели" msprop:Generator_ColumnPropNameInRow="наименование_модели" msprop:Generator_ColumnPropNameInTable="наименование_моделиColumn" msprop:Generator_UserColumnName="наименование модели" minOccurs="0">
  512. <xs:simpleType>
  513. <xs:restriction base="xs:string">
  514. <xs:maxLength value="2147483647" />
  515. </xs:restriction>
  516. </xs:simpleType>
  517. </xs:element>
  518. <xs:element name="цена_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnцена_модели" msprop:Generator_ColumnPropNameInRow="цена_модели" msprop:Generator_ColumnPropNameInTable="цена_моделиColumn" msprop:Generator_UserColumnName="цена модели" type="xs:decimal" minOccurs="0" />
  519. </xs:sequence>
  520. </xs:complexType>
  521. </xs:element>
  522. <xs:element name="связь_x0020_товар_x002B_модели_x002B_поступления" msprop:Generator_TableClassName="_связь_товар_модели_поступленияDataTable" msprop:Generator_TableVarName="_tableсвязь_товар_модели_поступления" msprop:Generator_TablePropName="_связь_товар_модели_поступления" msprop:Generator_RowDeletingName="_связь_товар_модели_поступленияRowDeleting" msprop:Generator_RowChangingName="_связь_товар_модели_поступленияRowChanging" msprop:Generator_RowEvHandlerName="_связь_товар_модели_поступленияRowChangeEventHandler" msprop:Generator_RowDeletedName="_связь_товар_модели_поступленияRowDeleted" msprop:Generator_UserTableName="связь товар+модели+поступления" msprop:Generator_RowChangedName="_связь_товар_модели_поступленияRowChanged" msprop:Generator_RowEvArgName="_связь_товар_модели_поступленияRowChangeEvent" msprop:Generator_RowClassName="_связь_товар_модели_поступленияRow">
  523. <xs:complexType>
  524. <xs:sequence>
  525. <xs:element name="наименование_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnнаименование_товара" msprop:Generator_ColumnPropNameInRow="наименование_товара" msprop:Generator_ColumnPropNameInTable="наименование_товараColumn" msprop:Generator_UserColumnName="наименование товара" minOccurs="0">
  526. <xs:simpleType>
  527. <xs:restriction base="xs:string">
  528. <xs:maxLength value="2147483647" />
  529. </xs:restriction>
  530. </xs:simpleType>
  531. </xs:element>
  532. <xs:element name="наименование_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnнаименование_модели" msprop:Generator_ColumnPropNameInRow="наименование_модели" msprop:Generator_ColumnPropNameInTable="наименование_моделиColumn" msprop:Generator_UserColumnName="наименование модели" minOccurs="0">
  533. <xs:simpleType>
  534. <xs:restriction base="xs:string">
  535. <xs:maxLength value="2147483647" />
  536. </xs:restriction>
  537. </xs:simpleType>
  538. </xs:element>
  539. <xs:element name="цена_x0020_модели" msprop:Generator_ColumnVarNameInTable="columnцена_модели" msprop:Generator_ColumnPropNameInRow="цена_модели" msprop:Generator_ColumnPropNameInTable="цена_моделиColumn" msprop:Generator_UserColumnName="цена модели" type="xs:decimal" minOccurs="0" />
  540. <xs:element name="дата_x0020_поступления" msprop:Generator_ColumnVarNameInTable="columnдата_поступления" msprop:Generator_ColumnPropNameInRow="дата_поступления" msprop:Generator_ColumnPropNameInTable="дата_поступленияColumn" msprop:Generator_UserColumnName="дата поступления" type="xs:dateTime" minOccurs="0" />
  541. <xs:element name="модели_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnмодели_товара" msprop:Generator_ColumnPropNameInRow="модели_товара" msprop:Generator_ColumnPropNameInTable="модели_товараColumn" msprop:Generator_UserColumnName="модели товара" minOccurs="0">
  542. <xs:simpleType>
  543. <xs:restriction base="xs:string">
  544. <xs:maxLength value="2147483647" />
  545. </xs:restriction>
  546. </xs:simpleType>
  547. </xs:element>
  548. <xs:element name="количество_x002C__x0020_шт_" msprop:Generator_ColumnVarNameInTable="_columnколичество__шт_" msprop:Generator_ColumnPropNameInRow="_количество__шт_" msprop:Generator_ColumnPropNameInTable="_количество__шт_Column" msprop:Generator_UserColumnName="количество, шт_" minOccurs="0">
  549. <xs:simpleType>
  550. <xs:restriction base="xs:string">
  551. <xs:maxLength value="2147483647" />
  552. </xs:restriction>
  553. </xs:simpleType>
  554. </xs:element>
  555. <xs:element name="кто_x0020_принял_x0020_товар" msprop:Generator_ColumnVarNameInTable="columnкто_принял_товар" msprop:Generator_ColumnPropNameInRow="кто_принял_товар" msprop:Generator_ColumnPropNameInTable="кто_принял_товарColumn" msprop:Generator_UserColumnName="кто принял товар" minOccurs="0">
  556. <xs:simpleType>
  557. <xs:restriction base="xs:string">
  558. <xs:maxLength value="2147483647" />
  559. </xs:restriction>
  560. </xs:simpleType>
  561. </xs:element>
  562. </xs:sequence>
  563. </xs:complexType>
  564. </xs:element>
  565. </xs:choice>
  566. </xs:complexType>
  567. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  568. <xs:selector xpath=".//mstns:модели" />
  569. <xs:field xpath="mstns:код_x0020_модели" />
  570. </xs:unique>
  571. <xs:unique name="поступления_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  572. <xs:selector xpath=".//mstns:поступления" />
  573. <xs:field xpath="mstns:код_x0020_поступления" />
  574. </xs:unique>
  575. <xs:unique name="товар_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  576. <xs:selector xpath=".//mstns:товар" />
  577. <xs:field xpath="mstns:код_x0020_товара" />
  578. </xs:unique>
  579. </xs:element>
  580. </xs:schema>