123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578 |
- <?xml version="1.0" encoding="utf-8"?>
- <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">
- <xs:annotation>
- <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
- <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
- <Connections>
- <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" />
- </Connections>
- <Tables>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="user_importTableAdapter" GeneratorDataComponentClassName="user_importTableAdapter" Name="user_import" UserDataComponentName="user_importTableAdapter">
- <MainSource>
- <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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[user_import] WHERE (([id_сотрудника] = @Original_id_сотрудника) AND ([Роль_сотрудника] = @Original_Роль_сотрудника) AND ([ФИО] = @Original_ФИО) AND ([Логин] = @Original_Логин) AND ([Пароль] = @Original_Пароль))</CommandText>
- <Parameters>
- <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" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Роль_сотрудника" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Роль_сотрудника" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[user_import] ([Роль_сотрудника], [ФИО], [Логин], [Пароль]) VALUES (@Роль_сотрудника, @ФИО, @Логин, @Пароль);
- SELECT id_сотрудника, Роль_сотрудника, ФИО, Логин, Пароль FROM user_import WHERE (id_сотрудника = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Роль_сотрудника" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Роль_сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id_сотрудника, Роль_сотрудника, ФИО, Логин, Пароль FROM dbo.user_import</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[user_import] SET [Роль_сотрудника] = @Роль_сотрудника, [ФИО] = @ФИО, [Логин] = @Логин, [Пароль] = @Пароль WHERE (([id_сотрудника] = @Original_id_сотрудника) AND ([Роль_сотрудника] = @Original_Роль_сотрудника) AND ([ФИО] = @Original_ФИО) AND ([Логин] = @Original_Логин) AND ([Пароль] = @Original_Пароль));
- SELECT id_сотрудника, Роль_сотрудника, ФИО, Логин, Пароль FROM user_import WHERE (id_сотрудника = @id_сотрудника)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Роль_сотрудника" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Роль_сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Current" />
- <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" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Роль_сотрудника" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Роль_сотрудника" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Логин" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Логин" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Пароль" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Original" />
- <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" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
- <Mapping SourceColumn="Роль_сотрудника" DataSetColumn="Роль_сотрудника" />
- <Mapping SourceColumn="ФИО" DataSetColumn="ФИО" />
- <Mapping SourceColumn="Логин" DataSetColumn="Логин" />
- <Mapping SourceColumn="Пароль" DataSetColumn="Пароль" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Заказ_importTableAdapter" GeneratorDataComponentClassName="Заказ_importTableAdapter" Name="Заказ_import" UserDataComponentName="Заказ_importTableAdapter">
- <MainSource>
- <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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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>
- <Parameters>
- <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" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Состав_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Состав_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_заказа" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_доставки" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_доставки" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Пункт_выдачи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пункт_выдачи" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ФИО_клиента" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ФИО_клиента" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_для_получения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код_для_получения" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Статус_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Статус_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <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" />
- <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" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Заказ_import] ([Состав_заказа], [Дата_заказа], [Дата_доставки], [Пункт_выдачи], [ФИО_клиента], [Код_для_получения], [Статус_заказа], [id_сотрудника]) VALUES (@Состав_заказа, @Дата_заказа, @Дата_доставки, @Пункт_выдачи, @ФИО_клиента, @Код_для_получения, @Статус_заказа, @id_сотрудника);
- SELECT id_заказа, Состав_заказа, Дата_заказа, Дата_доставки, Пункт_выдачи, ФИО_клиента, Код_для_получения, Статус_заказа, id_сотрудника FROM Заказ_import WHERE (id_заказа = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Состав_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Состав_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_заказа" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_доставки" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Пункт_выдачи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пункт_выдачи" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО_клиента" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_для_получения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код_для_получения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Статус_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Статус_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <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" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id_заказа, Состав_заказа, Дата_заказа, Дата_доставки, Пункт_выдачи, ФИО_клиента, Код_для_получения, Статус_заказа, id_сотрудника FROM dbo.Заказ_import</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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_сотрудника)));
- SELECT id_заказа, Состав_заказа, Дата_заказа, Дата_доставки, Пункт_выдачи, ФИО_клиента, Код_для_получения, Статус_заказа, id_сотрудника FROM Заказ_import WHERE (id_заказа = @id_заказа)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Состав_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Состав_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_заказа" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_доставки" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Пункт_выдачи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пункт_выдачи" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО_клиента" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_для_получения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код_для_получения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Статус_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Статус_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <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" />
- <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" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Состав_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Состав_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_заказа" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_доставки" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_доставки" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Пункт_выдачи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пункт_выдачи" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ФИО_клиента" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ФИО_клиента" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО_клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_для_получения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код_для_получения" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Статус_заказа" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Статус_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <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" />
- <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" />
- <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" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
- <Mapping SourceColumn="Состав_заказа" DataSetColumn="Состав_заказа" />
- <Mapping SourceColumn="Дата_заказа" DataSetColumn="Дата_заказа" />
- <Mapping SourceColumn="Дата_доставки" DataSetColumn="Дата_доставки" />
- <Mapping SourceColumn="Пункт_выдачи" DataSetColumn="Пункт_выдачи" />
- <Mapping SourceColumn="ФИО_клиента" DataSetColumn="ФИО_клиента" />
- <Mapping SourceColumn="Код_для_получения" DataSetColumn="Код_для_получения" />
- <Mapping SourceColumn="Статус_заказа" DataSetColumn="Статус_заказа" />
- <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Пункты выдачи_importTableAdapter" GeneratorDataComponentClassName="Пункты_выдачи_importTableAdapter" Name="Пункты выдачи_import" UserDataComponentName="Пункты выдачи_importTableAdapter">
- <MainSource>
- <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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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>
- <Parameters>
- <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" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Город" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Улица" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Номер" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Номер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="false" SourceVersion="Original" />
- <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" />
- <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" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Пункты выдачи_import] ([Город], [Улица], [Номер], [id_заказа]) VALUES (@Город, @Улица, @Номер, @id_заказа);
- SELECT id_пункта, Город, Улица, Номер, id_заказа FROM [Пункты выдачи_import] WHERE (id_пункта = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Номер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="false" SourceVersion="Current" />
- <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" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id_пункта, Город, Улица, Номер, id_заказа FROM dbo.[Пункты выдачи_import]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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_заказа)));
- SELECT id_пункта, Город, Улица, Номер, id_заказа FROM [Пункты выдачи_import] WHERE (id_пункта = @id_пункта)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Номер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="false" SourceVersion="Current" />
- <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" />
- <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" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Город" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Улица" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Номер" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Номер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Номер" SourceColumnNullMapping="false" SourceVersion="Original" />
- <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" />
- <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" />
- <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" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="id_пункта" DataSetColumn="id_пункта" />
- <Mapping SourceColumn="Город" DataSetColumn="Город" />
- <Mapping SourceColumn="Улица" DataSetColumn="Улица" />
- <Mapping SourceColumn="Номер" DataSetColumn="Номер" />
- <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Товар_import_СтройматериалыTableAdapter" GeneratorDataComponentClassName="Товар_import_СтройматериалыTableAdapter" Name="Товар_import_Стройматериалы" UserDataComponentName="Товар_import_СтройматериалыTableAdapter">
- <MainSource>
- <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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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>
- <Parameters>
- <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" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Артикул" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Наименование" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Наименование" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Стоимость" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Стоимость" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Размер_максимально_возможной_скидки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Размер_максимально_возможной_скидки" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Размер_максимально_возможной_скидки" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Размер_максимально_возможной_скидки" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Поставщик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Категория_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Категория_товара" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Категория_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Категория_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Действующая_скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Кол_во_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Кол_во_на_складе" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Кол_во_на_складе" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Кол_во_на_складе" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Описание" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Описание" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Описание" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Описание" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
- <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" />
- <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" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Товар_import_Стройматериалы] ([Артикул], [Наименование], [Единица_измерения], [Стоимость], [Размер_максимально_возможной_скидки], [Производитель], [Поставщик], [Категория_товара], [Действующая_скидка], [Кол_во_на_складе], [Описание], [Изображение], [id_заказа]) VALUES (@Артикул, @Наименование, @Единица_измерения, @Стоимость, @Размер_максимально_возможной_скидки, @Производитель, @Поставщик, @Категория_товара, @Действующая_скидка, @Кол_во_на_складе, @Описание, @Изображение, @id_заказа);
- SELECT id, Артикул, Наименование, Единица_измерения, Стоимость, Размер_максимально_возможной_скидки, Производитель, Поставщик, Категория_товара, Действующая_скидка, Кол_во_на_складе, Описание, Изображение, id_заказа FROM Товар_import_Стройматериалы WHERE (id = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Артикул" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Стоимость" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Размер_максимально_возможной_скидки" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Размер_максимально_возможной_скидки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Категория_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Категория_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Кол_во_на_складе" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Кол_во_на_складе" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Описание" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Описание" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
- <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" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id, Артикул, Наименование, Единица_измерения, Стоимость, Размер_максимально_возможной_скидки, Производитель, Поставщик, Категория_товара, Действующая_скидка, Кол_во_на_складе, Описание, Изображение, id_заказа FROM dbo.Товар_import_Стройматериалы</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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_заказа)));
- SELECT id, Артикул, Наименование, Единица_измерения, Стоимость, Размер_максимально_возможной_скидки, Производитель, Поставщик, Категория_товара, Действующая_скидка, Кол_во_на_складе, Описание, Изображение, id_заказа FROM Товар_import_Стройматериалы WHERE (id = @id)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Артикул" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Стоимость" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Размер_максимально_возможной_скидки" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Размер_максимально_возможной_скидки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Категория_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Категория_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Кол_во_на_складе" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Кол_во_на_складе" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Описание" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Описание" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
- <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" />
- <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" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Артикул" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Наименование" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Наименование" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Стоимость" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Стоимость" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Размер_максимально_возможной_скидки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Размер_максимально_возможной_скидки" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Размер_максимально_возможной_скидки" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Размер_максимально_возможной_скидки" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Поставщик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Категория_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Категория_товара" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Категория_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Категория_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Действующая_скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Кол_во_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Кол_во_на_складе" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Кол_во_на_складе" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Кол_во_на_складе" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Описание" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Описание" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Описание" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Описание" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
- <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" />
- <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" />
- <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" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="id" DataSetColumn="id" />
- <Mapping SourceColumn="Артикул" DataSetColumn="Артикул" />
- <Mapping SourceColumn="Наименование" DataSetColumn="Наименование" />
- <Mapping SourceColumn="Единица_измерения" DataSetColumn="Единица_измерения" />
- <Mapping SourceColumn="Стоимость" DataSetColumn="Стоимость" />
- <Mapping SourceColumn="Размер_максимально_возможной_скидки" DataSetColumn="Размер_максимально_возможной_скидки" />
- <Mapping SourceColumn="Производитель" DataSetColumn="Производитель" />
- <Mapping SourceColumn="Поставщик" DataSetColumn="Поставщик" />
- <Mapping SourceColumn="Категория_товара" DataSetColumn="Категория_товара" />
- <Mapping SourceColumn="Действующая_скидка" DataSetColumn="Действующая_скидка" />
- <Mapping SourceColumn="Кол_во_на_складе" DataSetColumn="Кол_во_на_складе" />
- <Mapping SourceColumn="Описание" DataSetColumn="Описание" />
- <Mapping SourceColumn="Изображение" DataSetColumn="Изображение" />
- <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="IS31YurevichDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="IS31YurevichDataSet" msprop:Generator_UserDSName="IS31YurevichDataSet">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <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">
- <xs:complexType>
- <xs:sequence>
- <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" />
- <xs:element name="Роль_сотрудника" msprop:Generator_ColumnVarNameInTable="columnРоль_сотрудника" msprop:Generator_ColumnPropNameInRow="Роль_сотрудника" msprop:Generator_ColumnPropNameInTable="Роль_сотрудникаColumn" msprop:Generator_UserColumnName="Роль_сотрудника">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ФИО" msprop:Generator_ColumnVarNameInTable="columnФИО" msprop:Generator_ColumnPropNameInRow="ФИО" msprop:Generator_ColumnPropNameInTable="ФИОColumn" msprop:Generator_UserColumnName="ФИО">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Логин" msprop:Generator_ColumnVarNameInTable="columnЛогин" msprop:Generator_ColumnPropNameInRow="Логин" msprop:Generator_ColumnPropNameInTable="ЛогинColumn" msprop:Generator_UserColumnName="Логин">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Пароль" msprop:Generator_ColumnVarNameInTable="columnПароль" msprop:Generator_ColumnPropNameInRow="Пароль" msprop:Generator_ColumnPropNameInTable="ПарольColumn" msprop:Generator_UserColumnName="Пароль">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <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">
- <xs:complexType>
- <xs:sequence>
- <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" />
- <xs:element name="Состав_заказа" msprop:Generator_ColumnVarNameInTable="columnСостав_заказа" msprop:Generator_ColumnPropNameInRow="Состав_заказа" msprop:Generator_ColumnPropNameInTable="Состав_заказаColumn" msprop:Generator_UserColumnName="Состав_заказа">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Дата_заказа" msprop:Generator_ColumnVarNameInTable="columnДата_заказа" msprop:Generator_ColumnPropNameInRow="Дата_заказа" msprop:Generator_ColumnPropNameInTable="Дата_заказаColumn" msprop:Generator_UserColumnName="Дата_заказа" type="xs:dateTime" />
- <xs:element name="Дата_доставки" msprop:Generator_ColumnVarNameInTable="columnДата_доставки" msprop:Generator_ColumnPropNameInRow="Дата_доставки" msprop:Generator_ColumnPropNameInTable="Дата_доставкиColumn" msprop:Generator_UserColumnName="Дата_доставки" type="xs:dateTime" />
- <xs:element name="Пункт_выдачи" msprop:Generator_ColumnVarNameInTable="columnПункт_выдачи" msprop:Generator_ColumnPropNameInRow="Пункт_выдачи" msprop:Generator_ColumnPropNameInTable="Пункт_выдачиColumn" msprop:Generator_UserColumnName="Пункт_выдачи" type="xs:int" />
- <xs:element name="ФИО_клиента" msprop:Generator_ColumnVarNameInTable="columnФИО_клиента" msprop:Generator_ColumnPropNameInRow="ФИО_клиента" msprop:Generator_ColumnPropNameInTable="ФИО_клиентаColumn" msprop:Generator_UserColumnName="ФИО_клиента" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Код_для_получения" msprop:Generator_ColumnVarNameInTable="columnКод_для_получения" msprop:Generator_ColumnPropNameInRow="Код_для_получения" msprop:Generator_ColumnPropNameInTable="Код_для_полученияColumn" msprop:Generator_UserColumnName="Код_для_получения" type="xs:int" />
- <xs:element name="Статус_заказа" msprop:Generator_ColumnVarNameInTable="columnСтатус_заказа" msprop:Generator_ColumnPropNameInRow="Статус_заказа" msprop:Generator_ColumnPropNameInTable="Статус_заказаColumn" msprop:Generator_UserColumnName="Статус_заказа">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <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" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <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">
- <xs:complexType>
- <xs:sequence>
- <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" />
- <xs:element name="Город" msprop:Generator_ColumnVarNameInTable="columnГород" msprop:Generator_ColumnPropNameInRow="Город" msprop:Generator_ColumnPropNameInTable="ГородColumn" msprop:Generator_UserColumnName="Город" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Улица" msprop:Generator_ColumnVarNameInTable="columnУлица" msprop:Generator_ColumnPropNameInRow="Улица" msprop:Generator_ColumnPropNameInTable="УлицаColumn" msprop:Generator_UserColumnName="Улица" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Номер" msprop:Generator_ColumnVarNameInTable="columnНомер" msprop:Generator_ColumnPropNameInRow="Номер" msprop:Generator_ColumnPropNameInTable="НомерColumn" msprop:Generator_UserColumnName="Номер" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <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" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <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">
- <xs:complexType>
- <xs:sequence>
- <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" />
- <xs:element name="Артикул" msprop:Generator_ColumnVarNameInTable="columnАртикул" msprop:Generator_ColumnPropNameInRow="Артикул" msprop:Generator_ColumnPropNameInTable="АртикулColumn" msprop:Generator_UserColumnName="Артикул" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Наименование" msprop:Generator_ColumnVarNameInTable="columnНаименование" msprop:Generator_ColumnPropNameInRow="Наименование" msprop:Generator_ColumnPropNameInTable="НаименованиеColumn" msprop:Generator_UserColumnName="Наименование" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Единица_измерения" msprop:Generator_ColumnVarNameInTable="columnЕдиница_измерения" msprop:Generator_ColumnPropNameInRow="Единица_измерения" msprop:Generator_ColumnPropNameInTable="Единица_измеренияColumn" msprop:Generator_UserColumnName="Единица_измерения" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Стоимость" msprop:Generator_ColumnVarNameInTable="columnСтоимость" msprop:Generator_ColumnPropNameInRow="Стоимость" msprop:Generator_ColumnPropNameInTable="СтоимостьColumn" msprop:Generator_UserColumnName="Стоимость" type="xs:decimal" minOccurs="0" />
- <xs:element name="Размер_максимально_возможной_скидки" msprop:Generator_ColumnVarNameInTable="columnРазмер_максимально_возможной_скидки" msprop:Generator_ColumnPropNameInRow="Размер_максимально_возможной_скидки" msprop:Generator_ColumnPropNameInTable="Размер_максимально_возможной_скидкиColumn" msprop:Generator_UserColumnName="Размер_максимально_возможной_скидки" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Производитель" msprop:Generator_ColumnVarNameInTable="columnПроизводитель" msprop:Generator_ColumnPropNameInRow="Производитель" msprop:Generator_ColumnPropNameInTable="ПроизводительColumn" msprop:Generator_UserColumnName="Производитель" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Поставщик" msprop:Generator_ColumnVarNameInTable="columnПоставщик" msprop:Generator_ColumnPropNameInRow="Поставщик" msprop:Generator_ColumnPropNameInTable="ПоставщикColumn" msprop:Generator_UserColumnName="Поставщик" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Категория_товара" msprop:Generator_ColumnVarNameInTable="columnКатегория_товара" msprop:Generator_ColumnPropNameInRow="Категория_товара" msprop:Generator_ColumnPropNameInTable="Категория_товараColumn" msprop:Generator_UserColumnName="Категория_товара" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Действующая_скидка" msprop:Generator_ColumnVarNameInTable="columnДействующая_скидка" msprop:Generator_ColumnPropNameInRow="Действующая_скидка" msprop:Generator_ColumnPropNameInTable="Действующая_скидкаColumn" msprop:Generator_UserColumnName="Действующая_скидка" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Кол_во_на_складе" msprop:Generator_ColumnVarNameInTable="columnКол_во_на_складе" msprop:Generator_ColumnPropNameInRow="Кол_во_на_складе" msprop:Generator_ColumnPropNameInTable="Кол_во_на_складеColumn" msprop:Generator_UserColumnName="Кол_во_на_складе" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Описание" msprop:Generator_ColumnVarNameInTable="columnОписание" msprop:Generator_ColumnPropNameInRow="Описание" msprop:Generator_ColumnPropNameInTable="ОписаниеColumn" msprop:Generator_UserColumnName="Описание" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="150" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Изображение" msprop:Generator_ColumnVarNameInTable="columnИзображение" msprop:Generator_ColumnPropNameInRow="Изображение" msprop:Generator_ColumnPropNameInTable="ИзображениеColumn" msprop:Generator_UserColumnName="Изображение" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <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" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:user_import" />
- <xs:field xpath="mstns:id_сотрудника" />
- </xs:unique>
- <xs:unique name="Заказ_import_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Заказ_import" />
- <xs:field xpath="mstns:id_заказа" />
- </xs:unique>
- <xs:unique name="Пункты_x0020_выдачи_import_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Пункты_x0020_выдачи_import" />
- <xs:field xpath="mstns:id_пункта" />
- </xs:unique>
- <xs:unique name="Товар_import_Стройматериалы_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Товар_import_Стройматериалы" />
- <xs:field xpath="mstns:id" />
- </xs:unique>
- </xs:element>
- <xs:annotation>
- <xs:appinfo>
- <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" />
- <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" />
- <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" />
- </xs:appinfo>
- </xs:annotation>
- </xs:schema>
|