IS31SavelevDataSet.xsd 65 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="IS31SavelevDataSet" targetNamespace="http://tempuri.org/IS31SavelevDataSet.xsd" xmlns:mstns="http://tempuri.org/IS31SavelevDataSet.xsd" xmlns="http://tempuri.org/IS31SavelevDataSet.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="IS31SavelevConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="IS31SavelevConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.IS31Savelev1.Properties.Settings.GlobalReference.Default.IS31SavelevConnectionString" 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="IS31SavelevConnectionString (Settings)" DbObjectName="IS31Savelev.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. <InsertCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>INSERT INTO [dbo].[user_import] ([Роль_сотрудника], [ФИО], [Логин], [Пароль], [id_сотрудника]) VALUES (@Роль_сотрудника, @ФИО, @Логин, @Пароль, @id_сотрудника)</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Роль_сотрудника" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Роль_сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
  19. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Current" />
  20. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Current" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@id_сотрудника" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
  22. </Parameters>
  23. </DbCommand>
  24. </InsertCommand>
  25. <SelectCommand>
  26. <DbCommand CommandType="Text" ModifiedByUser="false">
  27. <CommandText>SELECT Роль_сотрудника, ФИО, Логин, Пароль, id_сотрудника FROM dbo.user_import</CommandText>
  28. <Parameters />
  29. </DbCommand>
  30. </SelectCommand>
  31. </DbSource>
  32. </MainSource>
  33. <Mappings>
  34. <Mapping SourceColumn="Роль_сотрудника" DataSetColumn="Роль_сотрудника" />
  35. <Mapping SourceColumn="ФИО" DataSetColumn="ФИО" />
  36. <Mapping SourceColumn="Логин" DataSetColumn="Логин" />
  37. <Mapping SourceColumn="Пароль" DataSetColumn="Пароль" />
  38. <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
  39. </Mappings>
  40. <Sources />
  41. </TableAdapter>
  42. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Заказ_importTableAdapter" GeneratorDataComponentClassName="Заказ_importTableAdapter" Name="Заказ_import" UserDataComponentName="Заказ_importTableAdapter">
  43. <MainSource>
  44. <DbSource ConnectionRef="IS31SavelevConnectionString (Settings)" DbObjectName="IS31Savelev.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">
  45. <DeleteCommand>
  46. <DbCommand CommandType="Text" ModifiedByUser="false">
  47. <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>
  48. <Parameters>
  49. <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" />
  50. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Состав_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Состав_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  51. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_заказа" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  52. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_доставки" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_доставки" SourceColumnNullMapping="false" SourceVersion="Original" />
  53. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Пункт_выдачи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пункт_выдачи" SourceColumnNullMapping="false" SourceVersion="Original" />
  54. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ФИО_клиента" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
  55. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ФИО_клиента" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
  56. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_для_получения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код_для_получения" SourceColumnNullMapping="false" SourceVersion="Original" />
  57. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Статус_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Статус_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  58. <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" />
  59. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_id_сотрудника" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_сотрудника" SourceColumnNullMapping="false" SourceVersion="Original" />
  60. </Parameters>
  61. </DbCommand>
  62. </DeleteCommand>
  63. <InsertCommand>
  64. <DbCommand CommandType="Text" ModifiedByUser="false">
  65. <CommandText>INSERT INTO [dbo].[Заказ_import] ([id_заказа], [Состав_заказа], [Дата_заказа], [Дата_доставки], [Пункт_выдачи], [ФИО_клиента], [Код_для_получения], [Статус_заказа], [id_сотрудника]) VALUES (@id_заказа, @Состав_заказа, @Дата_заказа, @Дата_доставки, @Пункт_выдачи, @ФИО_клиента, @Код_для_получения, @Статус_заказа, @id_сотрудника);
  66. SELECT id_заказа, Состав_заказа, Дата_заказа, Дата_доставки, Пункт_выдачи, ФИО_клиента, Код_для_получения, Статус_заказа, id_сотрудника FROM Заказ_import WHERE (id_заказа = @id_заказа)</CommandText>
  67. <Parameters>
  68. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  69. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Состав_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Состав_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  70. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_заказа" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  71. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_доставки" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
  72. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Пункт_выдачи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пункт_выдачи" SourceColumnNullMapping="false" SourceVersion="Current" />
  73. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО_клиента" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
  74. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_для_получения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код_для_получения" SourceColumnNullMapping="false" SourceVersion="Current" />
  75. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Статус_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Статус_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  76. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@id_сотрудника" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
  77. </Parameters>
  78. </DbCommand>
  79. </InsertCommand>
  80. <SelectCommand>
  81. <DbCommand CommandType="Text" ModifiedByUser="false">
  82. <CommandText>SELECT id_заказа, Состав_заказа, Дата_заказа, Дата_доставки, Пункт_выдачи, ФИО_клиента, Код_для_получения, Статус_заказа, id_сотрудника FROM dbo.Заказ_import</CommandText>
  83. <Parameters />
  84. </DbCommand>
  85. </SelectCommand>
  86. <UpdateCommand>
  87. <DbCommand CommandType="Text" ModifiedByUser="false">
  88. <CommandText>UPDATE [dbo].[Заказ_import] SET [id_заказа] = @id_заказа, [Состав_заказа] = @Состав_заказа, [Дата_заказа] = @Дата_заказа, [Дата_доставки] = @Дата_доставки, [Пункт_выдачи] = @Пункт_выдачи, [ФИО_клиента] = @ФИО_клиента, [Код_для_получения] = @Код_для_получения, [Статус_заказа] = @Статус_заказа, [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_сотрудника)));
  89. SELECT id_заказа, Состав_заказа, Дата_заказа, Дата_доставки, Пункт_выдачи, ФИО_клиента, Код_для_получения, Статус_заказа, id_сотрудника FROM Заказ_import WHERE (id_заказа = @id_заказа)</CommandText>
  90. <Parameters>
  91. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  92. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Состав_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Состав_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  93. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_заказа" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  94. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_доставки" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
  95. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Пункт_выдачи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пункт_выдачи" SourceColumnNullMapping="false" SourceVersion="Current" />
  96. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО_клиента" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
  97. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_для_получения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код_для_получения" SourceColumnNullMapping="false" SourceVersion="Current" />
  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="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@id_сотрудника" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
  100. <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" />
  101. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Состав_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Состав_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  102. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_заказа" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  103. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_доставки" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_доставки" SourceColumnNullMapping="false" SourceVersion="Original" />
  104. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Пункт_выдачи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пункт_выдачи" SourceColumnNullMapping="false" SourceVersion="Original" />
  105. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ФИО_клиента" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
  106. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ФИО_клиента" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
  107. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_для_получения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код_для_получения" SourceColumnNullMapping="false" SourceVersion="Original" />
  108. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Статус_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Статус_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  109. <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" />
  110. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_id_сотрудника" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_сотрудника" SourceColumnNullMapping="false" SourceVersion="Original" />
  111. </Parameters>
  112. </DbCommand>
  113. </UpdateCommand>
  114. </DbSource>
  115. </MainSource>
  116. <Mappings>
  117. <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
  118. <Mapping SourceColumn="Состав_заказа" DataSetColumn="Состав_заказа" />
  119. <Mapping SourceColumn="Дата_заказа" DataSetColumn="Дата_заказа" />
  120. <Mapping SourceColumn="Дата_доставки" DataSetColumn="Дата_доставки" />
  121. <Mapping SourceColumn="Пункт_выдачи" DataSetColumn="Пункт_выдачи" />
  122. <Mapping SourceColumn="ФИО_клиента" DataSetColumn="ФИО_клиента" />
  123. <Mapping SourceColumn="Код_для_получения" DataSetColumn="Код_для_получения" />
  124. <Mapping SourceColumn="Статус_заказа" DataSetColumn="Статус_заказа" />
  125. <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
  126. </Mappings>
  127. <Sources />
  128. </TableAdapter>
  129. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Пункты выдачи_importTableAdapter" GeneratorDataComponentClassName="Пункты_выдачи_importTableAdapter" Name="Пункты выдачи_import" UserDataComponentName="Пункты выдачи_importTableAdapter">
  130. <MainSource>
  131. <DbSource ConnectionRef="IS31SavelevConnectionString (Settings)" DbObjectName="IS31Savelev.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">
  132. <DeleteCommand>
  133. <DbCommand CommandType="Text" ModifiedByUser="false">
  134. <CommandText>DELETE FROM [dbo].[Пункты выдачи_import] WHERE (([id_пункта] = @Original_id_пункта) AND ([Город] = @Original_Город) AND ([Улица] = @Original_Улица) AND ((@IsNull_Номер = 1 AND [Номер] IS NULL) OR ([Номер] = @Original_Номер)) AND ((@IsNull_id_заказа = 1 AND [id_заказа] IS NULL) OR ([id_заказа] = @Original_id_заказа)))</CommandText>
  135. <Parameters>
  136. <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" />
  137. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Original" />
  138. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Original" />
  139. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Номер" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="true" SourceVersion="Original" />
  140. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Номер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="false" SourceVersion="Original" />
  141. <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" />
  142. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_id_заказа" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  143. </Parameters>
  144. </DbCommand>
  145. </DeleteCommand>
  146. <InsertCommand>
  147. <DbCommand CommandType="Text" ModifiedByUser="false">
  148. <CommandText>INSERT INTO [dbo].[Пункты выдачи_import] ([id_пункта], [Город], [Улица], [Номер], [id_заказа]) VALUES (@id_пункта, @Город, @Улица, @Номер, @id_заказа);
  149. SELECT id_пункта, Город, Улица, Номер, id_заказа FROM [Пункты выдачи_import] WHERE (id_пункта = @id_пункта)</CommandText>
  150. <Parameters>
  151. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_пункта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_пункта" SourceColumnNullMapping="false" SourceVersion="Current" />
  152. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Current" />
  153. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Current" />
  154. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Номер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="false" SourceVersion="Current" />
  155. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@id_заказа" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  156. </Parameters>
  157. </DbCommand>
  158. </InsertCommand>
  159. <SelectCommand>
  160. <DbCommand CommandType="Text" ModifiedByUser="false">
  161. <CommandText>SELECT id_пункта, Город, Улица, Номер, id_заказа FROM dbo.[Пункты выдачи_import]</CommandText>
  162. <Parameters />
  163. </DbCommand>
  164. </SelectCommand>
  165. <UpdateCommand>
  166. <DbCommand CommandType="Text" ModifiedByUser="false">
  167. <CommandText>UPDATE [dbo].[Пункты выдачи_import] SET [id_пункта] = @id_пункта, [Город] = @Город, [Улица] = @Улица, [Номер] = @Номер, [id_заказа] = @id_заказа WHERE (([id_пункта] = @Original_id_пункта) AND ([Город] = @Original_Город) AND ([Улица] = @Original_Улица) AND ((@IsNull_Номер = 1 AND [Номер] IS NULL) OR ([Номер] = @Original_Номер)) AND ((@IsNull_id_заказа = 1 AND [id_заказа] IS NULL) OR ([id_заказа] = @Original_id_заказа)));
  168. SELECT id_пункта, Город, Улица, Номер, id_заказа FROM [Пункты выдачи_import] WHERE (id_пункта = @id_пункта)</CommandText>
  169. <Parameters>
  170. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_пункта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_пункта" SourceColumnNullMapping="false" SourceVersion="Current" />
  171. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Current" />
  172. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Current" />
  173. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Номер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="false" SourceVersion="Current" />
  174. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@id_заказа" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  175. <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" />
  176. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Original" />
  177. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Original" />
  178. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Номер" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="true" SourceVersion="Original" />
  179. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Номер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="false" SourceVersion="Original" />
  180. <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" />
  181. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_id_заказа" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  182. </Parameters>
  183. </DbCommand>
  184. </UpdateCommand>
  185. </DbSource>
  186. </MainSource>
  187. <Mappings>
  188. <Mapping SourceColumn="id_пункта" DataSetColumn="id_пункта" />
  189. <Mapping SourceColumn="Город" DataSetColumn="Город" />
  190. <Mapping SourceColumn="Улица" DataSetColumn="Улица" />
  191. <Mapping SourceColumn="Номер" DataSetColumn="Номер" />
  192. <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
  193. </Mappings>
  194. <Sources />
  195. </TableAdapter>
  196. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Товар_import_СтройматериалыTableAdapter" GeneratorDataComponentClassName="Товар_import_СтройматериалыTableAdapter" Name="Товар_import_Стройматериалы" UserDataComponentName="Товар_import_СтройматериалыTableAdapter">
  197. <MainSource>
  198. <DbSource ConnectionRef="IS31SavelevConnectionString (Settings)" DbObjectName="IS31Savelev.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">
  199. <InsertCommand>
  200. <DbCommand CommandType="Text" ModifiedByUser="false">
  201. <CommandText>INSERT INTO [dbo].[Товар_import_Стройматериалы] ([Артикул], [Наименование], [Единица_измерения], [Стоимость], [Размер_максимально_возможной_скидки], [Производитель], [Поставщик], [Категория_товара], [Действующая_скидка], [Кол_во_на_складе], [Описание], [Изображение], [id], [id_заказа]) VALUES (@Артикул, @Наименование, @Единица_измерения, @Стоимость, @Размер_максимально_возможной_скидки, @Производитель, @Поставщик, @Категория_товара, @Действующая_скидка, @Кол_во_на_складе, @Описание, @Изображение, @id, @id_заказа)</CommandText>
  202. <Parameters>
  203. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Артикул" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Current" />
  204. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
  205. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
  206. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Стоимость" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Current" />
  207. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Размер_максимально_возможной_скидки" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Размер_максимально_возможной_скидки" SourceColumnNullMapping="false" SourceVersion="Current" />
  208. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
  209. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Current" />
  210. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Категория_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Категория_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  211. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
  212. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Кол_во_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Кол_во_на_складе" SourceColumnNullMapping="false" SourceVersion="Current" />
  213. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Описание" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Описание" SourceColumnNullMapping="false" SourceVersion="Current" />
  214. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  215. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@id" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  216. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@id_заказа" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  217. </Parameters>
  218. </DbCommand>
  219. </InsertCommand>
  220. <SelectCommand>
  221. <DbCommand CommandType="Text" ModifiedByUser="false">
  222. <CommandText>SELECT Артикул, Наименование, Единица_измерения, Стоимость, Размер_максимально_возможной_скидки, Производитель, Поставщик, Категория_товара, Действующая_скидка, Кол_во_на_складе, Описание, Изображение, id, id_заказа FROM dbo.Товар_import_Стройматериалы</CommandText>
  223. <Parameters />
  224. </DbCommand>
  225. </SelectCommand>
  226. </DbSource>
  227. </MainSource>
  228. <Mappings>
  229. <Mapping SourceColumn="Артикул" DataSetColumn="Артикул" />
  230. <Mapping SourceColumn="Наименование" DataSetColumn="Наименование" />
  231. <Mapping SourceColumn="Единица_измерения" DataSetColumn="Единица_измерения" />
  232. <Mapping SourceColumn="Стоимость" DataSetColumn="Стоимость" />
  233. <Mapping SourceColumn="Размер_максимально_возможной_скидки" DataSetColumn="Размер_максимально_возможной_скидки" />
  234. <Mapping SourceColumn="Производитель" DataSetColumn="Производитель" />
  235. <Mapping SourceColumn="Поставщик" DataSetColumn="Поставщик" />
  236. <Mapping SourceColumn="Категория_товара" DataSetColumn="Категория_товара" />
  237. <Mapping SourceColumn="Действующая_скидка" DataSetColumn="Действующая_скидка" />
  238. <Mapping SourceColumn="Кол_во_на_складе" DataSetColumn="Кол_во_на_складе" />
  239. <Mapping SourceColumn="Описание" DataSetColumn="Описание" />
  240. <Mapping SourceColumn="Изображение" DataSetColumn="Изображение" />
  241. <Mapping SourceColumn="id" DataSetColumn="id" />
  242. <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
  243. </Mappings>
  244. <Sources />
  245. </TableAdapter>
  246. </Tables>
  247. <Sources />
  248. </DataSource>
  249. </xs:appinfo>
  250. </xs:annotation>
  251. <xs:element name="IS31SavelevDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="IS31SavelevDataSet" msprop:Generator_UserDSName="IS31SavelevDataSet">
  252. <xs:complexType>
  253. <xs:choice minOccurs="0" maxOccurs="unbounded">
  254. <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">
  255. <xs:complexType>
  256. <xs:sequence>
  257. <xs:element name="Роль_сотрудника" msprop:Generator_ColumnVarNameInTable="columnРоль_сотрудника" msprop:Generator_ColumnPropNameInRow="Роль_сотрудника" msprop:Generator_ColumnPropNameInTable="Роль_сотрудникаColumn" msprop:Generator_UserColumnName="Роль_сотрудника">
  258. <xs:simpleType>
  259. <xs:restriction base="xs:string">
  260. <xs:maxLength value="50" />
  261. </xs:restriction>
  262. </xs:simpleType>
  263. </xs:element>
  264. <xs:element name="ФИО" msprop:Generator_ColumnVarNameInTable="columnФИО" msprop:Generator_ColumnPropNameInRow="ФИО" msprop:Generator_ColumnPropNameInTable="ФИОColumn" msprop:Generator_UserColumnName="ФИО">
  265. <xs:simpleType>
  266. <xs:restriction base="xs:string">
  267. <xs:maxLength value="50" />
  268. </xs:restriction>
  269. </xs:simpleType>
  270. </xs:element>
  271. <xs:element name="Логин" msprop:Generator_ColumnVarNameInTable="columnЛогин" msprop:Generator_ColumnPropNameInRow="Логин" msprop:Generator_ColumnPropNameInTable="ЛогинColumn" msprop:Generator_UserColumnName="Логин">
  272. <xs:simpleType>
  273. <xs:restriction base="xs:string">
  274. <xs:maxLength value="50" />
  275. </xs:restriction>
  276. </xs:simpleType>
  277. </xs:element>
  278. <xs:element name="Пароль" msprop:Generator_ColumnVarNameInTable="columnПароль" msprop:Generator_ColumnPropNameInRow="Пароль" msprop:Generator_ColumnPropNameInTable="ПарольColumn" msprop:Generator_UserColumnName="Пароль">
  279. <xs:simpleType>
  280. <xs:restriction base="xs:string">
  281. <xs:maxLength value="50" />
  282. </xs:restriction>
  283. </xs:simpleType>
  284. </xs:element>
  285. <xs:element name="id_сотрудника" msprop:Generator_ColumnVarNameInTable="columnid_сотрудника" msprop:Generator_ColumnPropNameInRow="id_сотрудника" msprop:Generator_ColumnPropNameInTable="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" minOccurs="0">
  286. <xs:simpleType>
  287. <xs:restriction base="xs:string">
  288. <xs:maxLength value="10" />
  289. </xs:restriction>
  290. </xs:simpleType>
  291. </xs:element>
  292. </xs:sequence>
  293. </xs:complexType>
  294. </xs:element>
  295. <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">
  296. <xs:complexType>
  297. <xs:sequence>
  298. <xs:element name="id_заказа" msprop:Generator_ColumnVarNameInTable="columnid_заказа" msprop:Generator_ColumnPropNameInRow="id_заказа" msprop:Generator_ColumnPropNameInTable="id_заказаColumn" msprop:Generator_UserColumnName="id_заказа" type="xs:int" />
  299. <xs:element name="Состав_заказа" msprop:Generator_ColumnVarNameInTable="columnСостав_заказа" msprop:Generator_ColumnPropNameInRow="Состав_заказа" msprop:Generator_ColumnPropNameInTable="Состав_заказаColumn" msprop:Generator_UserColumnName="Состав_заказа">
  300. <xs:simpleType>
  301. <xs:restriction base="xs:string">
  302. <xs:maxLength value="50" />
  303. </xs:restriction>
  304. </xs:simpleType>
  305. </xs:element>
  306. <xs:element name="Дата_заказа" msprop:Generator_ColumnVarNameInTable="columnДата_заказа" msprop:Generator_ColumnPropNameInRow="Дата_заказа" msprop:Generator_ColumnPropNameInTable="Дата_заказаColumn" msprop:Generator_UserColumnName="Дата_заказа" type="xs:dateTime" />
  307. <xs:element name="Дата_доставки" msprop:Generator_ColumnVarNameInTable="columnДата_доставки" msprop:Generator_ColumnPropNameInRow="Дата_доставки" msprop:Generator_ColumnPropNameInTable="Дата_доставкиColumn" msprop:Generator_UserColumnName="Дата_доставки" type="xs:dateTime" />
  308. <xs:element name="Пункт_выдачи" msprop:Generator_ColumnVarNameInTable="columnПункт_выдачи" msprop:Generator_ColumnPropNameInRow="Пункт_выдачи" msprop:Generator_ColumnPropNameInTable="Пункт_выдачиColumn" msprop:Generator_UserColumnName="Пункт_выдачи" type="xs:int" />
  309. <xs:element name="ФИО_клиента" msprop:Generator_ColumnVarNameInTable="columnФИО_клиента" msprop:Generator_ColumnPropNameInRow="ФИО_клиента" msprop:Generator_ColumnPropNameInTable="ФИО_клиентаColumn" msprop:Generator_UserColumnName="ФИО_клиента" minOccurs="0">
  310. <xs:simpleType>
  311. <xs:restriction base="xs:string">
  312. <xs:maxLength value="50" />
  313. </xs:restriction>
  314. </xs:simpleType>
  315. </xs:element>
  316. <xs:element name="Код_для_получения" msprop:Generator_ColumnVarNameInTable="columnКод_для_получения" msprop:Generator_ColumnPropNameInRow="Код_для_получения" msprop:Generator_ColumnPropNameInTable="Код_для_полученияColumn" msprop:Generator_UserColumnName="Код_для_получения" type="xs:int" />
  317. <xs:element name="Статус_заказа" msprop:Generator_ColumnVarNameInTable="columnСтатус_заказа" msprop:Generator_ColumnPropNameInRow="Статус_заказа" msprop:Generator_ColumnPropNameInTable="Статус_заказаColumn" msprop:Generator_UserColumnName="Статус_заказа">
  318. <xs:simpleType>
  319. <xs:restriction base="xs:string">
  320. <xs:maxLength value="50" />
  321. </xs:restriction>
  322. </xs:simpleType>
  323. </xs:element>
  324. <xs:element name="id_сотрудника" msprop:Generator_ColumnVarNameInTable="columnid_сотрудника" msprop:Generator_ColumnPropNameInRow="id_сотрудника" msprop:Generator_ColumnPropNameInTable="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" minOccurs="0">
  325. <xs:simpleType>
  326. <xs:restriction base="xs:string">
  327. <xs:maxLength value="10" />
  328. </xs:restriction>
  329. </xs:simpleType>
  330. </xs:element>
  331. </xs:sequence>
  332. </xs:complexType>
  333. </xs:element>
  334. <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">
  335. <xs:complexType>
  336. <xs:sequence>
  337. <xs:element name="id_пункта" msprop:Generator_ColumnVarNameInTable="columnid_пункта" msprop:Generator_ColumnPropNameInRow="id_пункта" msprop:Generator_ColumnPropNameInTable="id_пунктаColumn" msprop:Generator_UserColumnName="id_пункта" type="xs:int" />
  338. <xs:element name="Город" msprop:Generator_ColumnVarNameInTable="columnГород" msprop:Generator_ColumnPropNameInRow="Город" msprop:Generator_ColumnPropNameInTable="ГородColumn" msprop:Generator_UserColumnName="Город">
  339. <xs:simpleType>
  340. <xs:restriction base="xs:string">
  341. <xs:maxLength value="50" />
  342. </xs:restriction>
  343. </xs:simpleType>
  344. </xs:element>
  345. <xs:element name="Улица" msprop:Generator_ColumnVarNameInTable="columnУлица" msprop:Generator_ColumnPropNameInRow="Улица" msprop:Generator_ColumnPropNameInTable="УлицаColumn" msprop:Generator_UserColumnName="Улица">
  346. <xs:simpleType>
  347. <xs:restriction base="xs:string">
  348. <xs:maxLength value="50" />
  349. </xs:restriction>
  350. </xs:simpleType>
  351. </xs:element>
  352. <xs:element name="Номер" msprop:Generator_ColumnVarNameInTable="columnНомер" msprop:Generator_ColumnPropNameInRow="Номер" msprop:Generator_ColumnPropNameInTable="НомерColumn" msprop:Generator_UserColumnName="Номер" minOccurs="0">
  353. <xs:simpleType>
  354. <xs:restriction base="xs:string">
  355. <xs:maxLength value="50" />
  356. </xs:restriction>
  357. </xs:simpleType>
  358. </xs:element>
  359. <xs:element name="id_заказа" msprop:Generator_ColumnVarNameInTable="columnid_заказа" msprop:Generator_ColumnPropNameInRow="id_заказа" msprop:Generator_ColumnPropNameInTable="id_заказаColumn" msprop:Generator_UserColumnName="id_заказа" minOccurs="0">
  360. <xs:simpleType>
  361. <xs:restriction base="xs:string">
  362. <xs:maxLength value="10" />
  363. </xs:restriction>
  364. </xs:simpleType>
  365. </xs:element>
  366. </xs:sequence>
  367. </xs:complexType>
  368. </xs:element>
  369. <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">
  370. <xs:complexType>
  371. <xs:sequence>
  372. <xs:element name="Артикул" msprop:Generator_ColumnVarNameInTable="columnАртикул" msprop:Generator_ColumnPropNameInRow="Артикул" msprop:Generator_ColumnPropNameInTable="АртикулColumn" msprop:Generator_UserColumnName="Артикул" minOccurs="0">
  373. <xs:simpleType>
  374. <xs:restriction base="xs:string">
  375. <xs:maxLength value="50" />
  376. </xs:restriction>
  377. </xs:simpleType>
  378. </xs:element>
  379. <xs:element name="Наименование" msprop:Generator_ColumnVarNameInTable="columnНаименование" msprop:Generator_ColumnPropNameInRow="Наименование" msprop:Generator_ColumnPropNameInTable="НаименованиеColumn" msprop:Generator_UserColumnName="Наименование" minOccurs="0">
  380. <xs:simpleType>
  381. <xs:restriction base="xs:string">
  382. <xs:maxLength value="50" />
  383. </xs:restriction>
  384. </xs:simpleType>
  385. </xs:element>
  386. <xs:element name="Единица_измерения" msprop:Generator_ColumnVarNameInTable="columnЕдиница_измерения" msprop:Generator_ColumnPropNameInRow="Единица_измерения" msprop:Generator_ColumnPropNameInTable="Единица_измеренияColumn" msprop:Generator_UserColumnName="Единица_измерения" minOccurs="0">
  387. <xs:simpleType>
  388. <xs:restriction base="xs:string">
  389. <xs:maxLength value="50" />
  390. </xs:restriction>
  391. </xs:simpleType>
  392. </xs:element>
  393. <xs:element name="Стоимость" msprop:Generator_ColumnVarNameInTable="columnСтоимость" msprop:Generator_ColumnPropNameInRow="Стоимость" msprop:Generator_ColumnPropNameInTable="СтоимостьColumn" msprop:Generator_UserColumnName="Стоимость" type="xs:int" minOccurs="0" />
  394. <xs:element name="Размер_максимально_возможной_скидки" 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="50" />
  398. </xs:restriction>
  399. </xs:simpleType>
  400. </xs:element>
  401. <xs:element name="Производитель" msprop:Generator_ColumnVarNameInTable="columnПроизводитель" msprop:Generator_ColumnPropNameInRow="Производитель" msprop:Generator_ColumnPropNameInTable="ПроизводительColumn" msprop:Generator_UserColumnName="Производитель" minOccurs="0">
  402. <xs:simpleType>
  403. <xs:restriction base="xs:string">
  404. <xs:maxLength value="50" />
  405. </xs:restriction>
  406. </xs:simpleType>
  407. </xs:element>
  408. <xs:element name="Поставщик" msprop:Generator_ColumnVarNameInTable="columnПоставщик" msprop:Generator_ColumnPropNameInRow="Поставщик" msprop:Generator_ColumnPropNameInTable="ПоставщикColumn" msprop:Generator_UserColumnName="Поставщик" minOccurs="0">
  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="Категория_товара" minOccurs="0">
  416. <xs:simpleType>
  417. <xs:restriction base="xs:string">
  418. <xs:maxLength value="50" />
  419. </xs:restriction>
  420. </xs:simpleType>
  421. </xs:element>
  422. <xs:element name="Действующая_скидка" msprop:Generator_ColumnVarNameInTable="columnДействующая_скидка" msprop:Generator_ColumnPropNameInRow="Действующая_скидка" msprop:Generator_ColumnPropNameInTable="Действующая_скидкаColumn" msprop:Generator_UserColumnName="Действующая_скидка" minOccurs="0">
  423. <xs:simpleType>
  424. <xs:restriction base="xs:string">
  425. <xs:maxLength value="50" />
  426. </xs:restriction>
  427. </xs:simpleType>
  428. </xs:element>
  429. <xs:element name="Кол_во_на_складе" msprop:Generator_ColumnVarNameInTable="columnКол_во_на_складе" msprop:Generator_ColumnPropNameInRow="Кол_во_на_складе" msprop:Generator_ColumnPropNameInTable="Кол_во_на_складеColumn" msprop:Generator_UserColumnName="Кол_во_на_складе" type="xs:int" minOccurs="0" />
  430. <xs:element name="Описание" msprop:Generator_ColumnVarNameInTable="columnОписание" msprop:Generator_ColumnPropNameInRow="Описание" msprop:Generator_ColumnPropNameInTable="ОписаниеColumn" msprop:Generator_UserColumnName="Описание" minOccurs="0">
  431. <xs:simpleType>
  432. <xs:restriction base="xs:string">
  433. <xs:maxLength value="150" />
  434. </xs:restriction>
  435. </xs:simpleType>
  436. </xs:element>
  437. <xs:element name="Изображение" 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="50" />
  441. </xs:restriction>
  442. </xs:simpleType>
  443. </xs:element>
  444. <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" minOccurs="0">
  445. <xs:simpleType>
  446. <xs:restriction base="xs:string">
  447. <xs:maxLength value="10" />
  448. </xs:restriction>
  449. </xs:simpleType>
  450. </xs:element>
  451. <xs:element name="id_заказа" msprop:Generator_ColumnVarNameInTable="columnid_заказа" msprop:Generator_ColumnPropNameInRow="id_заказа" msprop:Generator_ColumnPropNameInTable="id_заказаColumn" msprop:Generator_UserColumnName="id_заказа" minOccurs="0">
  452. <xs:simpleType>
  453. <xs:restriction base="xs:string">
  454. <xs:maxLength value="10" />
  455. </xs:restriction>
  456. </xs:simpleType>
  457. </xs:element>
  458. </xs:sequence>
  459. </xs:complexType>
  460. </xs:element>
  461. </xs:choice>
  462. </xs:complexType>
  463. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  464. <xs:selector xpath=".//mstns:Заказ_import" />
  465. <xs:field xpath="mstns:id_заказа" />
  466. </xs:unique>
  467. <xs:unique name="Пункты_x0020_выдачи_import_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  468. <xs:selector xpath=".//mstns:Пункты_x0020_выдачи_import" />
  469. <xs:field xpath="mstns:id_пункта" />
  470. </xs:unique>
  471. </xs:element>
  472. </xs:schema>