123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601 |
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema id="IS32Tarasov15DataSet" targetNamespace="http://tempuri.org/IS32Tarasov15DataSet.xsd" xmlns:mstns="http://tempuri.org/IS32Tarasov15DataSet.xsd" xmlns="http://tempuri.org/IS32Tarasov15DataSet.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="IS32Tarasov15ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="IS32Tarasov15ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WindowsFormsApp8.Properties.Settings.GlobalReference.Default.IS32Tarasov15ConnectionString" Provider="System.Data.SqlClient" />
- </Connections>
- <Tables>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ДоставкиTableAdapter" GeneratorDataComponentClassName="ДоставкиTableAdapter" Name="Доставки" UserDataComponentName="ДоставкиTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.dbo.Доставки" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Доставки] ([ID заказа], [Дата доставки], [Время доставки], [Адрес доставки], [Ф.И.О.клиента], [Ф.И.О.курьера]) VALUES (@ID_заказа, @Дата_доставки, @Время_доставки, @Адрес_доставки, @p1, @p4)</CommandText>
- <Parameters>
- <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" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_доставки" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Время_доставки" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="Время доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Адрес_доставки" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Адрес доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О.клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О.курьера" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [ID заказа], [Дата доставки], [Время доставки], [Адрес доставки], [Ф.И.О.клиента], [Ф.И.О.курьера] FROM dbo.Доставки</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="ID заказа" DataSetColumn="ID заказа" />
- <Mapping SourceColumn="Дата доставки" DataSetColumn="Дата доставки" />
- <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="ЗаказыTableAdapter" GeneratorDataComponentClassName="ЗаказыTableAdapter" Name="Заказы" UserDataComponentName="ЗаказыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.dbo.Заказы" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Заказы] WHERE (([ID заказа] = @Original_ID_заказа) AND ((@IsNull_ID_магазина = 1 AND [ID магазина] IS NULL) OR ([ID магазина] = @Original_ID_магазина)) AND ((@IsNull_ID_товара = 1 AND [ID товара] IS NULL) OR ([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 ((@p3 = 1 AND [Ф.И.О. клиента] IS NULL) OR ([Ф.И.О. клиента] = @p2)) AND ((@IsNull_Контактный_телефон = 1 AND [Контактный телефон] IS NULL) OR ([Контактный телефон] = @Original_Контактный_телефон)) AND ((@IsNull_Подтверждение_заказа = 1 AND [Подтверждение заказа] IS NULL) OR ([Подтверждение заказа] = @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="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="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="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="Date" Direction="Input" ParameterName="@Original_Дата_заказа" Precision="0" ProviderType="Date" 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="Time" Direction="Input" ParameterName="@Original_Время_заказа" Precision="0" ProviderType="Time" 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="AnsiString" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Контактный_телефон" Precision="0" ProviderType="VarChar" 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="Boolean" Direction="Input" ParameterName="@Original_Подтверждение_заказа" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Подтверждение заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Заказы] ([ID магазина], [ID товара], [Дата заказа], [Время заказа], [Количество], [Ф.И.О. клиента], [Контактный телефон], [Подтверждение заказа]) VALUES (@ID_магазина, @ID_товара, @Дата_заказа, @Время_заказа, @Количество, @p1, @Контактный_телефон, @Подтверждение_заказа);
- SELECT [ID заказа], [ID магазина], [ID товара], [Дата заказа], [Время заказа], Количество, [Ф.И.О. клиента], [Контактный телефон], [Подтверждение заказа] FROM Заказы WHERE ([ID заказа] = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <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="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="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Время_заказа" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="Время заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Контактный_телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Контактный телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Подтверждение_заказа" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Подтверждение заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [ID заказа], [ID магазина], [ID товара], [Дата заказа], [Время заказа], Количество, [Ф.И.О. клиента], [Контактный телефон], [Подтверждение заказа] FROM dbo.Заказы</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Заказы] SET [ID магазина] = @ID_магазина, [ID товара] = @ID_товара, [Дата заказа] = @Дата_заказа, [Время заказа] = @Время_заказа, [Количество] = @Количество, [Ф.И.О. клиента] = @p1, [Контактный телефон] = @Контактный_телефон, [Подтверждение заказа] = @Подтверждение_заказа WHERE (([ID заказа] = @Original_ID_заказа) AND ((@IsNull_ID_магазина = 1 AND [ID магазина] IS NULL) OR ([ID магазина] = @Original_ID_магазина)) AND ((@IsNull_ID_товара = 1 AND [ID товара] IS NULL) OR ([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 ((@p3 = 1 AND [Ф.И.О. клиента] IS NULL) OR ([Ф.И.О. клиента] = @p2)) AND ((@IsNull_Контактный_телефон = 1 AND [Контактный телефон] IS NULL) OR ([Контактный телефон] = @Original_Контактный_телефон)) AND ((@IsNull_Подтверждение_заказа = 1 AND [Подтверждение заказа] IS NULL) OR ([Подтверждение заказа] = @Original_Подтверждение_заказа)));
- SELECT [ID заказа], [ID магазина], [ID товара], [Дата заказа], [Время заказа], Количество, [Ф.И.О. клиента], [Контактный телефон], [Подтверждение заказа] FROM Заказы WHERE ([ID заказа] = @ID_заказа)</CommandText>
- <Parameters>
- <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="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="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Время_заказа" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="Время заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Контактный_телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Контактный телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Подтверждение_заказа" Precision="0" ProviderType="Bit" 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="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="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="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="Date" Direction="Input" ParameterName="@Original_Дата_заказа" Precision="0" ProviderType="Date" 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="Time" Direction="Input" ParameterName="@Original_Время_заказа" Precision="0" ProviderType="Time" 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="AnsiString" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Контактный_телефон" Precision="0" ProviderType="VarChar" 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="Boolean" Direction="Input" ParameterName="@Original_Подтверждение_заказа" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Подтверждение заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="ID_заказа" ColumnName="ID заказа" DataSourceName="IS32Tarasov15.dbo.Заказы" 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="ID магазина" DataSetColumn="ID магазина" />
- <Mapping SourceColumn="ID товара" DataSetColumn="ID товара" />
- <Mapping SourceColumn="Дата заказа" DataSetColumn="Дата заказа" />
- <Mapping SourceColumn="Время заказа" DataSetColumn="Время заказа" />
- <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="Интерент-магазиныTableAdapter" GeneratorDataComponentClassName="Интерент_магазиныTableAdapter" Name="Интерент-магазины" UserDataComponentName="Интерент-магазиныTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.dbo.[Интерент-магазины]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Интерент-магазины] WHERE (([ID Магазина] = @Original_ID_Магазина) AND ((@IsNull_Электронный_адрес = 1 AND [Электронный адрес] IS NULL) OR ([Электронный адрес] = @Original_Электронный_адрес)) AND ((@IsNull_Оплата_доставки = 1 AND [Оплата доставки] IS NULL) OR ([Оплата доставки] = @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="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="AnsiString" Direction="Input" ParameterName="@Original_Электронный_адрес" Precision="0" ProviderType="VarChar" 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="Boolean" Direction="Input" ParameterName="@Original_Оплата_доставки" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Интерент-магазины] ([Электронный адрес], [Оплата доставки]) VALUES (@Электронный_адрес, @Оплата_доставки);
- SELECT [ID Магазина], [Электронный адрес], [Оплата доставки] FROM [Интерент-магазины] WHERE ([ID Магазина] = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Электронный_адрес" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Электронный адрес" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Оплата_доставки" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [ID Магазина], [Электронный адрес], [Оплата доставки] FROM dbo.[Интерент-магазины]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Интерент-магазины] SET [Электронный адрес] = @Электронный_адрес, [Оплата доставки] = @Оплата_доставки WHERE (([ID Магазина] = @Original_ID_Магазина) AND ((@IsNull_Электронный_адрес = 1 AND [Электронный адрес] IS NULL) OR ([Электронный адрес] = @Original_Электронный_адрес)) AND ((@IsNull_Оплата_доставки = 1 AND [Оплата доставки] IS NULL) OR ([Оплата доставки] = @Original_Оплата_доставки)));
- SELECT [ID Магазина], [Электронный адрес], [Оплата доставки] FROM [Интерент-магазины] WHERE ([ID Магазина] = @ID_Магазина)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Электронный_адрес" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Электронный адрес" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Оплата_доставки" Precision="0" ProviderType="Bit" 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="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="AnsiString" Direction="Input" ParameterName="@Original_Электронный_адрес" Precision="0" ProviderType="VarChar" 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="Boolean" Direction="Input" ParameterName="@Original_Оплата_доставки" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="ID_Магазина" ColumnName="ID Магазина" DataSourceName="IS32Tarasov15.dbo.[Интерент-магазины]" 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="Оплата доставки" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ТоварыTableAdapter" GeneratorDataComponentClassName="ТоварыTableAdapter" Name="Товары" UserDataComponentName="ТоварыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.dbo.Товары" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Товары] 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_Изображение)))</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="AnsiString" Direction="Input" ParameterName="@Original_Название_товара" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Фирма" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Модель" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Технические_характеристики" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Гарантийный_срок" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Товары] ([Название товара], [Фирма], [Модель], [Технические характеристики], [Цена], [Гарантийный срок], [Изображение]) VALUES (@Название_товара, @Фирма, @Модель, @Технические_характеристики, @Цена, @Гарантийный_срок, @Изображение);
- SELECT [ID товара], [Название товара], Фирма, Модель, [Технические характеристики], Цена, [Гарантийный срок], Изображение FROM Товары WHERE ([ID товара] = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название_товара" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Название товара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фирма" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Модель" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Модель" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Технические_характеристики" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Гарантийный_срок" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Гарантийный срок" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [ID товара], [Название товара], Фирма, Модель, [Технические характеристики], Цена, [Гарантийный срок], Изображение FROM dbo.Товары</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Товары] SET [Название товара] = @Название_товара, [Фирма] = @Фирма, [Модель] = @Модель, [Технические характеристики] = @Технические_характеристики, [Цена] = @Цена, [Гарантийный срок] = @Гарантийный_срок, [Изображение] = @Изображение 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_Изображение)));
- SELECT [ID товара], [Название товара], Фирма, Модель, [Технические характеристики], Цена, [Гарантийный срок], Изображение FROM Товары WHERE ([ID товара] = @ID_товара)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название_товара" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Название товара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фирма" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Модель" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Модель" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Технические_характеристики" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Гарантийный_срок" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Гарантийный срок" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="VarChar" 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="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="AnsiString" Direction="Input" ParameterName="@Original_Название_товара" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Фирма" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Модель" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Технические_характеристики" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Гарантийный_срок" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="ID_товара" ColumnName="ID товара" DataSourceName="IS32Tarasov15.dbo.Товары" 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="Изображение" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Принятые заказыTableAdapter" GeneratorDataComponentClassName="Принятые_заказыTableAdapter" Name="Принятые заказы" UserDataComponentName="Принятые заказыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.dbo.[Принятые заказы]" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Подтверждение заказа], [Дата заказа], [Дата доставки], [Время заказа], [Время доставки], [Адрес доставки], [Ф.И.О.клиента], [Контактный телефон], [Ф.И.О.курьера], [Оплата доставки] FROM dbo.[Принятые заказы]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <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="Оплата доставки" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Цена товараTableAdapter" GeneratorDataComponentClassName="Цена_товараTableAdapter" Name="Цена товара" UserDataComponentName="Цена товараTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.dbo.[Цена товара]" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Название товара], Фирма, Модель, [Технические характеристики], Цена, [Гарантийный срок], Количество, [Ф.И.О. клиента], [Контактный телефон], [Дата заказа] FROM dbo.[Цена товара]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <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="Дата заказа" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="IS32Tarasov15DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="IS32Tarasov15DataSet" msprop:Generator_UserDSName="IS32Tarasov15DataSet">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="Доставки" msprop:Generator_TableClassName="ДоставкиDataTable" msprop:Generator_TableVarName="tableДоставки" msprop:Generator_TablePropName="Доставки" msprop:Generator_RowDeletingName="ДоставкиRowDeleting" msprop:Generator_RowChangingName="ДоставкиRowChanging" msprop:Generator_RowEvHandlerName="ДоставкиRowChangeEventHandler" msprop:Generator_RowDeletedName="ДоставкиRowDeleted" msprop:Generator_UserTableName="Доставки" msprop:Generator_RowChangedName="ДоставкиRowChanged" msprop:Generator_RowEvArgName="ДоставкиRowChangeEvent" msprop:Generator_RowClassName="ДоставкиRow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ID_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnID_заказа" msprop:Generator_ColumnPropNameInRow="ID_заказа" msprop:Generator_ColumnPropNameInTable="ID_заказаColumn" msprop:Generator_UserColumnName="ID заказа" type="xs:int" />
- <xs:element name="Дата_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnДата_доставки" msprop:Generator_ColumnPropNameInRow="Дата_доставки" msprop:Generator_ColumnPropNameInTable="Дата_доставкиColumn" msprop:Generator_UserColumnName="Дата доставки" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Время_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnВремя_доставки" msprop:Generator_ColumnPropNameInRow="Время_доставки" msprop:Generator_ColumnPropNameInTable="Время_доставкиColumn" msprop:Generator_UserColumnName="Время доставки" type="xs:duration" minOccurs="0" />
- <xs:element name="Адрес_x0020_доставки" 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:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Заказы" msprop:Generator_TableClassName="ЗаказыDataTable" msprop:Generator_TableVarName="tableЗаказы" msprop:Generator_TablePropName="Заказы" msprop:Generator_RowDeletingName="ЗаказыRowDeleting" msprop:Generator_RowChangingName="ЗаказыRowChanging" msprop:Generator_RowEvHandlerName="ЗаказыRowChangeEventHandler" msprop:Generator_RowDeletedName="ЗаказыRowDeleted" msprop:Generator_UserTableName="Заказы" msprop:Generator_RowChangedName="ЗаказыRowChanged" msprop:Generator_RowEvArgName="ЗаказыRowChangeEvent" msprop:Generator_RowClassName="ЗаказыRow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ID_x0020_заказа" 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="ID_x0020_магазина" msprop:Generator_ColumnVarNameInTable="columnID_магазина" msprop:Generator_ColumnPropNameInRow="ID_магазина" msprop:Generator_ColumnPropNameInTable="ID_магазинаColumn" msprop:Generator_UserColumnName="ID магазина" type="xs:int" minOccurs="0" />
- <xs:element name="ID_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnID_товара" msprop:Generator_ColumnPropNameInRow="ID_товара" msprop:Generator_ColumnPropNameInTable="ID_товараColumn" msprop:Generator_UserColumnName="ID товара" type="xs:int" minOccurs="0" />
- <xs:element name="Дата_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnДата_заказа" msprop:Generator_ColumnPropNameInRow="Дата_заказа" msprop:Generator_ColumnPropNameInTable="Дата_заказаColumn" msprop:Generator_UserColumnName="Дата заказа" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Время_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnВремя_заказа" msprop:Generator_ColumnPropNameInRow="Время_заказа" msprop:Generator_ColumnPropNameInTable="Время_заказаColumn" msprop:Generator_UserColumnName="Время заказа" type="xs:duration" 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="Ф_И_О__x0020_клиента" 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="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Контактный_x0020_телефон" 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="Подтверждение_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnПодтверждение_заказа" msprop:Generator_ColumnPropNameInRow="Подтверждение_заказа" msprop:Generator_ColumnPropNameInTable="Подтверждение_заказаColumn" msprop:Generator_UserColumnName="Подтверждение заказа" type="xs:boolean" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Интерент-магазины" msprop:Generator_TableClassName="_Интерент_магазиныDataTable" msprop:Generator_TableVarName="_tableИнтерент_магазины" msprop:Generator_TablePropName="_Интерент_магазины" msprop:Generator_RowDeletingName="_Интерент_магазиныRowDeleting" msprop:Generator_RowChangingName="_Интерент_магазиныRowChanging" msprop:Generator_RowEvHandlerName="_Интерент_магазиныRowChangeEventHandler" msprop:Generator_RowDeletedName="_Интерент_магазиныRowDeleted" msprop:Generator_UserTableName="Интерент-магазины" msprop:Generator_RowChangedName="_Интерент_магазиныRowChanged" msprop:Generator_RowEvArgName="_Интерент_магазиныRowChangeEvent" msprop:Generator_RowClassName="_Интерент_магазиныRow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ID_x0020_Магазина" 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="Электронный_x0020_адрес" 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="Оплата_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnОплата_доставки" msprop:Generator_ColumnPropNameInRow="Оплата_доставки" msprop:Generator_ColumnPropNameInTable="Оплата_доставкиColumn" msprop:Generator_UserColumnName="Оплата доставки" type="xs:boolean" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Товары" msprop:Generator_TableClassName="ТоварыDataTable" msprop:Generator_TableVarName="tableТовары" msprop:Generator_TablePropName="Товары" msprop:Generator_RowDeletingName="ТоварыRowDeleting" msprop:Generator_RowChangingName="ТоварыRowChanging" msprop:Generator_RowEvHandlerName="ТоварыRowChangeEventHandler" msprop:Generator_RowDeletedName="ТоварыRowDeleted" msprop:Generator_UserTableName="Товары" msprop:Generator_RowChangedName="ТоварыRowChanged" msprop:Generator_RowEvArgName="ТоварыRowChangeEvent" msprop:Generator_RowClassName="ТоварыRow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ID_x0020_товара" 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="Название_x0020_товара" 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="Технические_x0020_характеристики" 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="100" />
- </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="Гарантийный_x0020_срок" 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:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Принятые_x0020_заказы" msprop:Generator_TableClassName="Принятые_заказыDataTable" msprop:Generator_TableVarName="tableПринятые_заказы" msprop:Generator_TablePropName="Принятые_заказы" msprop:Generator_RowDeletingName="Принятые_заказыRowDeleting" msprop:Generator_RowChangingName="Принятые_заказыRowChanging" msprop:Generator_RowEvHandlerName="Принятые_заказыRowChangeEventHandler" msprop:Generator_RowDeletedName="Принятые_заказыRowDeleted" msprop:Generator_UserTableName="Принятые заказы" msprop:Generator_RowChangedName="Принятые_заказыRowChanged" msprop:Generator_RowEvArgName="Принятые_заказыRowChangeEvent" msprop:Generator_RowClassName="Принятые_заказыRow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Подтверждение_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnПодтверждение_заказа" msprop:Generator_ColumnPropNameInRow="Подтверждение_заказа" msprop:Generator_ColumnPropNameInTable="Подтверждение_заказаColumn" msprop:Generator_UserColumnName="Подтверждение заказа" type="xs:boolean" minOccurs="0" />
- <xs:element name="Дата_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnДата_заказа" msprop:Generator_ColumnPropNameInRow="Дата_заказа" msprop:Generator_ColumnPropNameInTable="Дата_заказаColumn" msprop:Generator_UserColumnName="Дата заказа" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Дата_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnДата_доставки" msprop:Generator_ColumnPropNameInRow="Дата_доставки" msprop:Generator_ColumnPropNameInTable="Дата_доставкиColumn" msprop:Generator_UserColumnName="Дата доставки" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Время_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnВремя_заказа" msprop:Generator_ColumnPropNameInRow="Время_заказа" msprop:Generator_ColumnPropNameInTable="Время_заказаColumn" msprop:Generator_UserColumnName="Время заказа" type="xs:duration" minOccurs="0" />
- <xs:element name="Время_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnВремя_доставки" msprop:Generator_ColumnPropNameInRow="Время_доставки" msprop:Generator_ColumnPropNameInTable="Время_доставкиColumn" msprop:Generator_UserColumnName="Время доставки" type="xs:duration" minOccurs="0" />
- <xs:element name="Адрес_x0020_доставки" 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="Контактный_x0020_телефон" 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="Оплата_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnОплата_доставки" msprop:Generator_ColumnPropNameInRow="Оплата_доставки" msprop:Generator_ColumnPropNameInTable="Оплата_доставкиColumn" msprop:Generator_UserColumnName="Оплата доставки" type="xs:boolean" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Цена_x0020_товара" msprop:Generator_TableClassName="Цена_товараDataTable" msprop:Generator_TableVarName="tableЦена_товара" msprop:Generator_TablePropName="Цена_товара" msprop:Generator_RowDeletingName="Цена_товараRowDeleting" msprop:Generator_RowChangingName="Цена_товараRowChanging" msprop:Generator_RowEvHandlerName="Цена_товараRowChangeEventHandler" msprop:Generator_RowDeletedName="Цена_товараRowDeleted" msprop:Generator_UserTableName="Цена товара" msprop:Generator_RowChangedName="Цена_товараRowChanged" msprop:Generator_RowEvArgName="Цена_товараRowChangeEvent" msprop:Generator_RowClassName="Цена_товараRow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Название_x0020_товара" 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="Технические_x0020_характеристики" 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="100" />
- </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="Гарантийный_x0020_срок" 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="Ф_И_О__x0020_клиента" 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="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Контактный_x0020_телефон" 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="Дата_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnДата_заказа" msprop:Generator_ColumnPropNameInRow="Дата_заказа" msprop:Generator_ColumnPropNameInTable="Дата_заказаColumn" msprop:Generator_UserColumnName="Дата заказа" type="xs:dateTime" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Заказы" />
- <xs:field xpath="mstns:ID_x0020_заказа" />
- </xs:unique>
- <xs:unique name="Интерент-магазины_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Интерент-магазины" />
- <xs:field xpath="mstns:ID_x0020_Магазина" />
- </xs:unique>
- <xs:unique name="Товары_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Товары" />
- <xs:field xpath="mstns:ID_x0020_товара" />
- </xs:unique>
- </xs:element>
- <xs:annotation>
- <xs:appinfo>
- <msdata:Relationship name="FK_Доставки_Заказы" msdata:parent="Заказы" msdata:child="Доставки" msdata:parentkey="ID_x0020_заказа" msdata:childkey="ID_x0020_заказа" msprop:Generator_UserChildTable="Доставки" msprop:Generator_ChildPropName="GetДоставкиRows" msprop:Generator_UserRelationName="FK_Доставки_Заказы" msprop:Generator_RelationVarName="relationFK_Доставки_Заказы" msprop:Generator_UserParentTable="Заказы" msprop:Generator_ParentPropName="ЗаказыRow" />
- <msdata:Relationship name="FK_Заказы_Интерент-магазины" msdata:parent="Интерент-магазины" msdata:child="Заказы" msdata:parentkey="ID_x0020_Магазина" msdata:childkey="ID_x0020_магазина" msprop:Generator_UserChildTable="Заказы" msprop:Generator_ChildPropName="GetЗаказыRows" msprop:Generator_UserRelationName="FK_Заказы_Интерент-магазины" msprop:Generator_RelationVarName="_relationFK_Заказы_Интерент_магазины" msprop:Generator_UserParentTable="Интерент-магазины" msprop:Generator_ParentPropName="_Интерент_магазиныRow" />
- <msdata:Relationship name="FK_Заказы_Товары1" msdata:parent="Товары" msdata:child="Заказы" msdata:parentkey="ID_x0020_товара" msdata:childkey="ID_x0020_товара" msprop:Generator_UserChildTable="Заказы" msprop:Generator_ChildPropName="GetЗаказыRows" msprop:Generator_UserRelationName="FK_Заказы_Товары1" msprop:Generator_RelationVarName="relationFK_Заказы_Товары1" msprop:Generator_UserParentTable="Товары" msprop:Generator_ParentPropName="ТоварыRow" />
- </xs:appinfo>
- </xs:annotation>
- </xs:schema>
|