123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668 |
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema id="Starichikhina_remont_butovoy_texnikiDataSet" targetNamespace="http://tempuri.org/Starichikhina_remont_butovoy_texnikiDataSet.xsd" xmlns:mstns="http://tempuri.org/Starichikhina_remont_butovoy_texnikiDataSet.xsd" xmlns="http://tempuri.org/Starichikhina_remont_butovoy_texnikiDataSet.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="Starichikhina_remont_butovoy_texnikiConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Starichkxina_remont_bytovoy_texniki.Properties.Settings.GlobalReference.Default.Starichikhina_remont_butovoy_texnikiConnectionString" 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="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.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_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 ((@p3 = 1 AND [телефон-клиента] IS NULL) OR ([телефон-клиента] = @p2)))</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_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="Boolean" Direction="Input" ParameterName="@Original_гарантия" Precision="0" ProviderType="Bit" 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="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="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@p2" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[заказ] ([ФИО], [id_товара], [гарантия], [дата_поступления_заказа], [телефон-клиента]) VALUES (@ФИО, @id_товара, @гарантия, @дата_поступления_заказа, @p1);
- SELECT id_заказа, ФИО, id_товара, гарантия, дата_поступления_заказа, [телефон-клиента] FROM заказ 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="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="Boolean" Direction="Input" ParameterName="@гарантия" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="гарантия" 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="Decimal" Direction="Input" ParameterName="@p1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id_заказа, ФИО, id_товара, гарантия, дата_поступления_заказа, [телефон-клиента] FROM dbo.заказ</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[заказ] SET [ФИО] = @ФИО, [id_товара] = @id_товара, [гарантия] = @гарантия, [дата_поступления_заказа] = @дата_поступления_заказа, [телефон-клиента] = @p1 WHERE (([id_заказа] = @Original_id_заказа) AND ((@IsNull_ФИО = 1 AND [ФИО] IS NULL) OR ([ФИО] = @Original_ФИО)) 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 ((@p3 = 1 AND [телефон-клиента] IS NULL) OR ([телефон-клиента] = @p2)));
- SELECT id_заказа, ФИО, id_товара, гарантия, дата_поступления_заказа, [телефон-клиента] FROM заказ 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="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="Boolean" Direction="Input" ParameterName="@гарантия" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="гарантия" 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="Decimal" Direction="Input" ParameterName="@p1" Precision="18" ProviderType="Decimal" 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="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="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="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="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@p2" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="id_заказа" ColumnName="id_заказа" DataSourceName="Starichikhina_remont_butovoy_texniki.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="id_товара" DataSetColumn="id_товара" />
- <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="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.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 ([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="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="Boolean" Direction="Input" ParameterName="@Original_сообщение_клиенту" Precision="0" ProviderType="Bit" 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="StringFixedLength" Direction="Input" ParameterName="@Original_дата_получения_товара" Precision="0" ProviderType="NChar" 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="false" 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].[исполнение_заказов] ([вид_ремонта], [стоимость_ремонта], [дата_исполнения_заказа], [сообщение_клиенту], [дата_получения_товара], [сумма_оплаты_услуг], [id_сотрудника]) VALUES (@вид_ремонта, @стоимость_ремонта, @дата_исполнения_заказа, @сообщение_клиенту, @дата_получения_товара, @сумма_оплаты_услуг, @id_сотрудника);
- SELECT id_заказа, вид_ремонта, стоимость_ремонта, дата_исполнения_заказа, сообщение_клиенту, дата_получения_товара, сумма_оплаты_услуг, id_сотрудника FROM исполнение_заказов 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="Date" Direction="Input" ParameterName="@дата_исполнения_заказа" Precision="0" ProviderType="Date" 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="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@дата_получения_товара" Precision="0" ProviderType="NChar" 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="false" 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.исполнение_заказов</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[исполнение_заказов] 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 ([id_сотрудника] = @Original_id_сотрудника));
- SELECT id_заказа, вид_ремонта, стоимость_ремонта, дата_исполнения_заказа, сообщение_клиенту, дата_получения_товара, сумма_оплаты_услуг, id_сотрудника FROM исполнение_заказов 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="Date" Direction="Input" ParameterName="@дата_исполнения_заказа" Precision="0" ProviderType="Date" 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="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@дата_получения_товара" Precision="0" ProviderType="NChar" 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="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="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="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="Boolean" Direction="Input" ParameterName="@Original_сообщение_клиенту" Precision="0" ProviderType="Bit" 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="StringFixedLength" Direction="Input" ParameterName="@Original_дата_получения_товара" Precision="0" ProviderType="NChar" 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="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="id_заказа" ColumnName="id_заказа" DataSourceName="Starichikhina_remont_butovoy_texniki.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="id_сотрудника" DataSetColumn="id_сотрудника" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="сотрудникиTableAdapter" GeneratorDataComponentClassName="сотрудникиTableAdapter" Name="сотрудники" UserDataComponentName="сотрудникиTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.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="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" />
- </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="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" />
- </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="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="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="false" AutogeneratedName="id_сотрудника" ColumnName="id_сотрудника" DataSourceName="Starichikhina_remont_butovoy_texniki.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="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.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_сотрудника], [id_заказа]) VALUES (@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" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id_сотрудника, id_заказа FROM dbo.сотрудники_исполнение_заказов</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
- <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ТоварыTableAdapter" GeneratorDataComponentClassName="ТоварыTableAdapter" Name="Товары" UserDataComponentName="ТоварыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.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_гарантированный_срок)))</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="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" />
- </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="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="Binary" Direction="Input" ParameterName="@изображение" Precision="0" ProviderType="Image" 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_гарантированный_срок)));
- SELECT id_товара, наим_товара, фирма, модель, технические_характеристики, гарантированный_срок, изображение FROM Товары 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="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="Binary" Direction="Input" ParameterName="@изображение" Precision="0" ProviderType="Image" 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="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="false" AutogeneratedName="id_товара" ColumnName="id_товара" DataSourceName="Starichikhina_remont_butovoy_texniki.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="изображение" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="zakazTableAdapter" GeneratorDataComponentClassName="zakazTableAdapter" Name="zakaz" UserDataComponentName="zakazTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.zakaz" 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 id_заказа, гарантия, id_сотрудника FROM dbo.zakaz</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
- <Mapping SourceColumn="гарантия" DataSetColumn="гарантия" />
- <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="запрос_2TableAdapter" GeneratorDataComponentClassName="запрос_2TableAdapter" Name="запрос_2" UserDataComponentName="запрос_2TableAdapter">
- <MainSource>
- <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.запрос_2" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id_сотрудника, ФИО, вид_ремонта FROM dbo.запрос_2</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </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="запрос_3TableAdapter" GeneratorDataComponentClassName="запрос_3TableAdapter" Name="запрос_3" UserDataComponentName="запрос_3TableAdapter">
- <MainSource>
- <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.запрос_3" 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 id_сотрудника, ФИО, должность FROM dbo.запрос_3</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </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="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.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="дата_исполнения_заказа" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="Starichikhina_remont_butovoy_texnikiDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="Starichikhina_remont_butovoy_texnikiDataSet" msprop:Generator_UserDSName="Starichikhina_remont_butovoy_texnikiDataSet">
- <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_заказа" 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="id_товара" 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="гарантия" msprop:Generator_ColumnVarNameInTable="columnгарантия" msprop:Generator_ColumnPropNameInRow="гарантия" msprop:Generator_ColumnPropNameInTable="гарантияColumn" msprop:Generator_UserColumnName="гарантия" type="xs:boolean" minOccurs="0" />
- <xs:element name="дата_поступления_заказа" msprop:Generator_ColumnVarNameInTable="columnдата_поступления_заказа" msprop:Generator_ColumnPropNameInRow="дата_поступления_заказа" msprop:Generator_ColumnPropNameInTable="дата_поступления_заказаColumn" msprop:Generator_UserColumnName="дата_поступления_заказа" type="xs:dateTime" minOccurs="0" />
- <xs:element name="телефон-клиента" msprop:Generator_ColumnVarNameInTable="_columnтелефон_клиента" msprop:Generator_ColumnPropNameInRow="_телефон_клиента" msprop:Generator_ColumnPropNameInTable="_телефон_клиентаColumn" msprop:Generator_UserColumnName="телефон-клиента" type="xs:decimal" 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_заказа" 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="дата_исполнения_заказа" type="xs:dateTime" minOccurs="0" />
- <xs:element name="сообщение_клиенту" msprop:Generator_ColumnVarNameInTable="columnсообщение_клиенту" msprop:Generator_ColumnPropNameInRow="сообщение_клиенту" msprop:Generator_ColumnPropNameInTable="сообщение_клиентуColumn" msprop:Generator_UserColumnName="сообщение_клиенту" type="xs:boolean" 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="10" />
- </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="id_сотрудника" msprop:Generator_ColumnVarNameInTable="columnid_сотрудника" msprop:Generator_ColumnPropNameInRow="id_сотрудника" msprop:Generator_ColumnPropNameInTable="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" type="xs:int" />
- </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_сотрудника" 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: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_сотрудника" 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_заказа" 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="Товары" 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_товара" 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="технические_характеристики" 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:base64Binary" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="zakaz" msprop:Generator_TableClassName="zakazDataTable" msprop:Generator_TableVarName="tablezakaz" msprop:Generator_TablePropName="zakaz" msprop:Generator_RowDeletingName="zakazRowDeleting" msprop:Generator_RowChangingName="zakazRowChanging" msprop:Generator_RowEvHandlerName="zakazRowChangeEventHandler" msprop:Generator_RowDeletedName="zakazRowDeleted" msprop:Generator_UserTableName="zakaz" msprop:Generator_RowChangedName="zakazRowChanged" msprop:Generator_RowEvArgName="zakazRowChangeEvent" msprop:Generator_RowClassName="zakazRow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id_заказа" 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="гарантия" type="xs:boolean" minOccurs="0" />
- <xs:element name="id_сотрудника" msprop:Generator_ColumnVarNameInTable="columnid_сотрудника" msprop:Generator_ColumnPropNameInRow="id_сотрудника" msprop:Generator_ColumnPropNameInTable="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" type="xs:int" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="запрос_2" msprop:Generator_TableClassName="запрос_2DataTable" msprop:Generator_TableVarName="tableзапрос_2" msprop:Generator_TablePropName="запрос_2" msprop:Generator_RowDeletingName="запрос_2RowDeleting" msprop:Generator_RowChangingName="запрос_2RowChanging" msprop:Generator_RowEvHandlerName="запрос_2RowChangeEventHandler" msprop:Generator_RowDeletedName="запрос_2RowDeleted" msprop:Generator_UserTableName="запрос_2" msprop:Generator_RowChangedName="запрос_2RowChanged" msprop:Generator_RowEvArgName="запрос_2RowChangeEvent" msprop:Generator_RowClassName="запрос_2Row">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id_сотрудника" 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:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="запрос_3" msprop:Generator_TableClassName="запрос_3DataTable" msprop:Generator_TableVarName="tableзапрос_3" msprop:Generator_TablePropName="запрос_3" msprop:Generator_RowDeletingName="запрос_3RowDeleting" msprop:Generator_RowChangingName="запрос_3RowChanging" msprop:Generator_RowEvHandlerName="запрос_3RowChangeEventHandler" msprop:Generator_RowDeletedName="запрос_3RowDeleted" msprop:Generator_UserTableName="запрос_3" msprop:Generator_RowChangedName="запрос_3RowChanged" msprop:Generator_RowEvArgName="запрос_3RowChangeEvent" msprop:Generator_RowClassName="запрос_3Row">
- <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: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="наим_товара" 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="дата_исполнения_заказа" 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_заказа" />
- </xs:unique>
- <xs:unique name="исполнение_заказов_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:исполнение_заказов" />
- <xs:field xpath="mstns:id_заказа" />
- </xs:unique>
- <xs:unique name="сотрудники_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:сотрудники" />
- <xs:field xpath="mstns:id_сотрудника" />
- </xs:unique>
- <xs:unique name="Товары_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Товары" />
- <xs:field xpath="mstns:id_товара" />
- </xs:unique>
- <xs:unique name="zakaz_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:zakaz" />
- <xs:field xpath="mstns:id_заказа" />
- <xs:field xpath="mstns:id_сотрудника" />
- </xs:unique>
- <xs:unique name="запрос_2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:запрос_2" />
- <xs:field xpath="mstns:id_сотрудника" />
- </xs:unique>
- <xs:unique name="запрос_3_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:запрос_3" />
- <xs:field xpath="mstns:id_сотрудника" />
- </xs:unique>
- </xs:element>
- <xs:annotation>
- <xs:appinfo>
- <msdata:Relationship name="FK_заказ_Товары" msdata:parent="Товары" msdata:child="заказ" msdata:parentkey="id_товара" msdata:childkey="id_товара" 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_заказа" msdata:childkey="id_заказа" msprop:Generator_UserChildTable="исполнение_заказов" msprop:Generator_ChildPropName="Getисполнение_заказовRows" msprop:Generator_UserRelationName="FK_исполнение_заказов_заказ" msprop:Generator_ParentPropName="заказRow" msprop:Generator_RelationVarName="relationFK_исполнение_заказов_заказ" msprop:Generator_UserParentTable="заказ" />
- <msdata:Relationship name="FK_сотрудники_исполнение_заказов_исполнение_заказов" msdata:parent="исполнение_заказов" msdata:child="сотрудники_исполнение_заказов" msdata:parentkey="id_заказа" msdata:childkey="id_заказа" msprop:Generator_UserChildTable="сотрудники_исполнение_заказов" msprop:Generator_ChildPropName="Getсотрудники_исполнение_заказовRows" msprop:Generator_UserRelationName="FK_сотрудники_исполнение_заказов_исполнение_заказов" msprop:Generator_ParentPropName="исполнение_заказовRow" msprop:Generator_RelationVarName="relationFK_сотрудники_исполнение_заказов_исполнение_заказов" msprop:Generator_UserParentTable="исполнение_заказов" />
- <msdata:Relationship name="FK_сотрудники_исполнение_заказов_сотрудники" msdata:parent="сотрудники" msdata:child="сотрудники_исполнение_заказов" msdata:parentkey="id_сотрудника" msdata:childkey="id_сотрудника" msprop:Generator_UserChildTable="сотрудники_исполнение_заказов" msprop:Generator_ChildPropName="Getсотрудники_исполнение_заказовRows" msprop:Generator_UserRelationName="FK_сотрудники_исполнение_заказов_сотрудники" msprop:Generator_ParentPropName="сотрудникиRow" msprop:Generator_RelationVarName="relationFK_сотрудники_исполнение_заказов_сотрудники" msprop:Generator_UserParentTable="сотрудники" />
- </xs:appinfo>
- </xs:annotation>
- </xs:schema>
|