IS31YurevichDataSet.xsd 102 KB

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