123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764 |
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema id="PostavkaTovarovDataSet" targetNamespace="http://tempuri.org/PostavkaTovarovDataSet.xsd" xmlns:mstns="http://tempuri.org/PostavkaTovarovDataSet.xsd" xmlns="http://tempuri.org/PostavkaTovarovDataSet.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="PostavkaTovarovConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="PostavkaTovarovConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WindowsFormsApp1Индивидуально.Properties.Settings.GlobalReference.Default.PostavkaTovarovConnectionString" 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="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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 (([КодДоговора] = @Original_КодДоговора) AND ((@IsNull_ДатаЗаключения = 1 AND [ДатаЗаключения] IS NULL) OR ([ДатаЗаключения] = @Original_ДатаЗаключения)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_КодДоговора" Precision="0" ProviderType="BigInt" 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" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[ДоговорЗаказа] ([ДатаЗаключения]) VALUES (@ДатаЗаключения);
- SELECT КодДоговора, ДатаЗаключения FROM ДоговорЗаказа WHERE (КодДоговора = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@ДатаЗаключения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ДатаЗаключения" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT КодДоговора, ДатаЗаключения FROM dbo.ДоговорЗаказа</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[ДоговорЗаказа] SET [ДатаЗаключения] = @ДатаЗаключения WHERE (([КодДоговора] = @Original_КодДоговора) AND ((@IsNull_ДатаЗаключения = 1 AND [ДатаЗаключения] IS NULL) OR ([ДатаЗаключения] = @Original_ДатаЗаключения)));
- SELECT КодДоговора, ДатаЗаключения FROM ДоговорЗаказа WHERE (КодДоговора = @КодДоговора)</CommandText>
- <Parameters>
- <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="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_КодДоговора" Precision="0" ProviderType="BigInt" 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="false" AutogeneratedName="КодДоговора" ColumnName="КодДоговора" DataSourceName="PostavkaTovarov.dbo.ДоговорЗаказа" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@КодДоговора" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="КодДоговора" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <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="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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 (([КодЗаказчика] = @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="Int64" Direction="Input" ParameterName="@Original_КодЗаказчика" Precision="0" ProviderType="BigInt" 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 КодЗаказчика, ФИО, Телефон, Адрес FROM Заказчик WHERE (КодЗаказчика = 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" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT КодЗаказчика, ФИО, Телефон, Адрес FROM dbo.Заказчик</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Заказчик] SET [ФИО] = @ФИО, [Телефон] = @Телефон, [Адрес] = @Адрес WHERE (([КодЗаказчика] = @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 КодЗаказчика, ФИО, Телефон, Адрес FROM Заказчик WHERE (КодЗаказчика = @КодЗаказчика)</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="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_КодЗаказчика" Precision="0" ProviderType="BigInt" 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="КодЗаказчика" ColumnName="КодЗаказчика" DataSourceName="PostavkaTovarov.dbo.Заказчик" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@КодЗаказчика" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="КодЗаказчика" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <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="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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 (([КодЗаказа] = @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="Int64" Direction="Input" ParameterName="@Original_КодЗаказа" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодТовара" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодЗаказчика" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодДоговора" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Заказы] ([НаименованиеЗаказа], [ПлановаяПоставка], [КодТовара], [КодЗаказчика], [КодДоговора], [КодОтгрузки]) VALUES (@НаименованиеЗаказа, @ПлановаяПоставка, @КодТовара, @КодЗаказчика, @КодДоговора, @КодОтгрузки);
- SELECT КодЗаказа, НаименованиеЗаказа, ПлановаяПоставка, КодТовара, КодЗаказчика, КодДоговора, КодОтгрузки FROM Заказы WHERE (КодЗаказа = 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="Boolean" Direction="Input" ParameterName="@ПлановаяПоставка" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ПлановаяПоставка" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодТовара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодЗаказчика" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодЗаказчика" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодДоговора" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодДоговора" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT КодЗаказа, НаименованиеЗаказа, ПлановаяПоставка, КодТовара, КодЗаказчика, КодДоговора, КодОтгрузки FROM dbo.Заказы</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Заказы] SET [НаименованиеЗаказа] = @НаименованиеЗаказа, [ПлановаяПоставка] = @ПлановаяПоставка, [КодТовара] = @КодТовара, [КодЗаказчика] = @КодЗаказчика, [КодДоговора] = @КодДоговора, [КодОтгрузки] = @КодОтгрузки WHERE (([КодЗаказа] = @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 КодЗаказа, НаименованиеЗаказа, ПлановаяПоставка, КодТовара, КодЗаказчика, КодДоговора, КодОтгрузки FROM Заказы WHERE (КодЗаказа = @КодЗаказа)</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="Boolean" Direction="Input" ParameterName="@ПлановаяПоставка" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ПлановаяПоставка" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодТовара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодЗаказчика" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодЗаказчика" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодДоговора" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодДоговора" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_КодЗаказа" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодТовара" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодЗаказчика" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодДоговора" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="КодЗаказа" ColumnName="КодЗаказа" DataSourceName="PostavkaTovarov.dbo.Заказы" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@КодЗаказа" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="КодЗаказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <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="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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 (([КодОтгрузки] = @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="Int64" Direction="Input" ParameterName="@Original_КодОтгрузки" Precision="0" ProviderType="BigInt" 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="Int32" Direction="Input" ParameterName="@Original_ОтгруженоТовара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ОтгруженоТовара" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Отгрузка] ([ДатаОтгрузки], [ОтгруженоТовара]) VALUES (@ДатаОтгрузки, @ОтгруженоТовара);
- SELECT КодОтгрузки, ДатаОтгрузки, ОтгруженоТовара FROM Отгрузка WHERE (КодОтгрузки = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <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="Int32" Direction="Input" ParameterName="@ОтгруженоТовара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ОтгруженоТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT КодОтгрузки, ДатаОтгрузки, ОтгруженоТовара FROM dbo.Отгрузка</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Отгрузка] SET [ДатаОтгрузки] = @ДатаОтгрузки, [ОтгруженоТовара] = @ОтгруженоТовара WHERE (([КодОтгрузки] = @Original_КодОтгрузки) AND ((@IsNull_ДатаОтгрузки = 1 AND [ДатаОтгрузки] IS NULL) OR ([ДатаОтгрузки] = @Original_ДатаОтгрузки)) AND ((@IsNull_ОтгруженоТовара = 1 AND [ОтгруженоТовара] IS NULL) OR ([ОтгруженоТовара] = @Original_ОтгруженоТовара)));
- SELECT КодОтгрузки, ДатаОтгрузки, ОтгруженоТовара FROM Отгрузка WHERE (КодОтгрузки = @КодОтгрузки)</CommandText>
- <Parameters>
- <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="Int32" Direction="Input" ParameterName="@ОтгруженоТовара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ОтгруженоТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_КодОтгрузки" Precision="0" ProviderType="BigInt" 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="Int32" Direction="Input" ParameterName="@Original_ОтгруженоТовара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ОтгруженоТовара" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="КодОтгрузки" ColumnName="КодОтгрузки" DataSourceName="PostavkaTovarov.dbo.Отгрузка" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <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="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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 (([КодОтгрузкаТовара] = @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="Int64" Direction="Input" ParameterName="@Original_КодОтгрузкаТовара" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодТовара" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[ОтгрузкаТовара] ([КодТовара], [КодОтгрузки]) VALUES (@КодТовара, @КодОтгрузки);
- SELECT КодОтгрузкаТовара, КодТовара, КодОтгрузки FROM ОтгрузкаТовара WHERE (КодОтгрузкаТовара = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодТовара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT КодОтгрузкаТовара, КодТовара, КодОтгрузки FROM dbo.ОтгрузкаТовара</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[ОтгрузкаТовара] SET [КодТовара] = @КодТовара, [КодОтгрузки] = @КодОтгрузки WHERE (([КодОтгрузкаТовара] = @Original_КодОтгрузкаТовара) AND ((@IsNull_КодТовара = 1 AND [КодТовара] IS NULL) OR ([КодТовара] = @Original_КодТовара)) AND ((@IsNull_КодОтгрузки = 1 AND [КодОтгрузки] IS NULL) OR ([КодОтгрузки] = @Original_КодОтгрузки)));
- SELECT КодОтгрузкаТовара, КодТовара, КодОтгрузки FROM ОтгрузкаТовара WHERE (КодОтгрузкаТовара = @КодОтгрузкаТовара)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодТовара" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_КодОтгрузкаТовара" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодТовара" Precision="0" ProviderType="BigInt" 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="Int64" Direction="Input" ParameterName="@Original_КодОтгрузки" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="КодОтгрузки" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="КодОтгрузкаТовара" ColumnName="КодОтгрузкаТовара" DataSourceName="PostavkaTovarov.dbo.ОтгрузкаТовара" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@КодОтгрузкаТовара" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="КодОтгрузкаТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <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="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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 (([КодТовара] = @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="Int64" Direction="Input" ParameterName="@Original_КодТовара" Precision="0" ProviderType="BigInt" 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" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Товары] ([НаименованиеТовара], [ЦенаТовара]) VALUES (@НаименованиеТовара, @ЦенаТовара);
- SELECT КодТовара, НаименованиеТовара, ЦенаТовара FROM Товары WHERE (КодТовара = 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="Currency" Direction="Input" ParameterName="@ЦенаТовара" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ЦенаТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT КодТовара, НаименованиеТовара, ЦенаТовара FROM dbo.Товары</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Товары] SET [НаименованиеТовара] = @НаименованиеТовара, [ЦенаТовара] = @ЦенаТовара WHERE (([КодТовара] = @Original_КодТовара) AND ((@IsNull_НаименованиеТовара = 1 AND [НаименованиеТовара] IS NULL) OR ([НаименованиеТовара] = @Original_НаименованиеТовара)) AND ((@IsNull_ЦенаТовара = 1 AND [ЦенаТовара] IS NULL) OR ([ЦенаТовара] = @Original_ЦенаТовара)));
- SELECT КодТовара, НаименованиеТовара, ЦенаТовара FROM Товары WHERE (КодТовара = @КодТовара)</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="Currency" Direction="Input" ParameterName="@ЦенаТовара" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ЦенаТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_КодТовара" Precision="0" ProviderType="BigInt" 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="false" AutogeneratedName="КодТовара" ColumnName="КодТовара" DataSourceName="PostavkaTovarov.dbo.Товары" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@КодТовара" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="КодТовара" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="КодТовара" DataSetColumn="КодТовара" />
- <Mapping SourceColumn="НаименованиеТовара" DataSetColumn="НаименованиеТовара" />
- <Mapping SourceColumn="ЦенаТовара" DataSetColumn="ЦенаТовара" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="View_1TableAdapter" GeneratorDataComponentClassName="View_1TableAdapter" Name="View_1" UserDataComponentName="View_1TableAdapter">
- <MainSource>
- <DbSource ConnectionRef="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.dbo.View_1" 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.View_1</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <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="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Запрос_Заказы+ДоговораЗаказовTableAdapter" GeneratorDataComponentClassName="Запрос_Заказы_ДоговораЗаказовTableAdapter" Name="Запрос_Заказы+ДоговораЗаказов" UserDataComponentName="Запрос_Заказы+ДоговораЗаказовTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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="КодОтгрузки" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Запрос_ПлановаяПоставкаTableAdapter" GeneratorDataComponentClassName="Запрос_ПлановаяПоставкаTableAdapter" Name="Запрос_ПлановаяПоставка" UserDataComponentName="Запрос_ПлановаяПоставкаTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Запрос_ФИОЗаказавшихКерамическиеИзделияTableAdapter" GeneratorDataComponentClassName="Запрос_ФИОЗаказавшихКерамическиеИзделияTableAdapter" Name="Запрос_ФИОЗаказавшихКерамическиеИзделия" UserDataComponentName="Запрос_ФИОЗаказавшихКерамическиеИзделияTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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="ФИО" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Запрос_ФИОЗаказавшихМебельTableAdapter" GeneratorDataComponentClassName="Запрос_ФИОЗаказавшихМебельTableAdapter" Name="Запрос_ФИОЗаказавшихМебель" UserDataComponentName="Запрос_ФИОЗаказавшихМебельTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="PostavkaTovarovConnectionString (Settings)" DbObjectName="PostavkaTovarov.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="ФИО" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="PostavkaTovarovDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="PostavkaTovarovDataSet" msprop:Generator_UserDSName="PostavkaTovarovDataSet">
- <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="КодДоговора" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnКодДоговора" msprop:Generator_ColumnPropNameInRow="КодДоговора" msprop:Generator_ColumnPropNameInTable="КодДоговораColumn" msprop:Generator_UserColumnName="КодДоговора" type="xs:long" />
- <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: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="КодЗаказчика" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnКодЗаказчика" msprop:Generator_ColumnPropNameInRow="КодЗаказчика" msprop:Generator_ColumnPropNameInTable="КодЗаказчикаColumn" msprop:Generator_UserColumnName="КодЗаказчика" type="xs:long" />
- <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="100" />
- </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="11" />
- </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="100" />
- </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="КодЗаказа" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnКодЗаказа" msprop:Generator_ColumnPropNameInRow="КодЗаказа" msprop:Generator_ColumnPropNameInTable="КодЗаказаColumn" msprop:Generator_UserColumnName="КодЗаказа" type="xs:long" />
- <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="2147483647" />
- </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:boolean" minOccurs="0" />
- <xs:element name="КодТовара" msprop:Generator_ColumnVarNameInTable="columnКодТовара" msprop:Generator_ColumnPropNameInRow="КодТовара" msprop:Generator_ColumnPropNameInTable="КодТовараColumn" msprop:Generator_UserColumnName="КодТовара" type="xs:long" minOccurs="0" />
- <xs:element name="КодЗаказчика" msprop:Generator_ColumnVarNameInTable="columnКодЗаказчика" msprop:Generator_ColumnPropNameInRow="КодЗаказчика" msprop:Generator_ColumnPropNameInTable="КодЗаказчикаColumn" msprop:Generator_UserColumnName="КодЗаказчика" type="xs:long" minOccurs="0" />
- <xs:element name="КодДоговора" msprop:Generator_ColumnVarNameInTable="columnКодДоговора" msprop:Generator_ColumnPropNameInRow="КодДоговора" msprop:Generator_ColumnPropNameInTable="КодДоговораColumn" msprop:Generator_UserColumnName="КодДоговора" type="xs:long" minOccurs="0" />
- <xs:element name="КодОтгрузки" msprop:Generator_ColumnVarNameInTable="columnКодОтгрузки" msprop:Generator_ColumnPropNameInRow="КодОтгрузки" msprop:Generator_ColumnPropNameInTable="КодОтгрузкиColumn" msprop:Generator_UserColumnName="КодОтгрузки" type="xs:long" 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="КодОтгрузки" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnКодОтгрузки" msprop:Generator_ColumnPropNameInRow="КодОтгрузки" msprop:Generator_ColumnPropNameInTable="КодОтгрузкиColumn" msprop:Generator_UserColumnName="КодОтгрузки" type="xs:long" />
- <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: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="КодОтгрузкаТовара" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnКодОтгрузкаТовара" msprop:Generator_ColumnPropNameInRow="КодОтгрузкаТовара" msprop:Generator_ColumnPropNameInTable="КодОтгрузкаТовараColumn" msprop:Generator_UserColumnName="КодОтгрузкаТовара" type="xs:long" />
- <xs:element name="КодТовара" msprop:Generator_ColumnVarNameInTable="columnКодТовара" msprop:Generator_ColumnPropNameInRow="КодТовара" msprop:Generator_ColumnPropNameInTable="КодТовараColumn" msprop:Generator_UserColumnName="КодТовара" type="xs:long" minOccurs="0" />
- <xs:element name="КодОтгрузки" msprop:Generator_ColumnVarNameInTable="columnКодОтгрузки" msprop:Generator_ColumnPropNameInRow="КодОтгрузки" msprop:Generator_ColumnPropNameInTable="КодОтгрузкиColumn" msprop:Generator_UserColumnName="КодОтгрузки" type="xs:long" 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="КодТовара" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnКодТовара" msprop:Generator_ColumnPropNameInRow="КодТовара" msprop:Generator_ColumnPropNameInTable="КодТовараColumn" msprop:Generator_UserColumnName="КодТовара" type="xs:long" />
- <xs:element name="НаименованиеТовара" msprop:Generator_ColumnVarNameInTable="columnНаименованиеТовара" msprop:Generator_ColumnPropNameInRow="НаименованиеТовара" msprop:Generator_ColumnPropNameInTable="НаименованиеТовараColumn" msprop:Generator_UserColumnName="НаименованиеТовара" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ЦенаТовара" msprop:Generator_ColumnVarNameInTable="columnЦенаТовара" msprop:Generator_ColumnPropNameInRow="ЦенаТовара" msprop:Generator_ColumnPropNameInTable="ЦенаТовараColumn" msprop:Generator_UserColumnName="ЦенаТовара" type="xs:decimal" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="View_1" msprop:Generator_TableClassName="View_1DataTable" msprop:Generator_TableVarName="tableView_1" msprop:Generator_TablePropName="View_1" msprop:Generator_RowDeletingName="View_1RowDeleting" msprop:Generator_RowChangingName="View_1RowChanging" msprop:Generator_RowEvHandlerName="View_1RowChangeEventHandler" msprop:Generator_RowDeletedName="View_1RowDeleted" msprop:Generator_UserTableName="View_1" msprop:Generator_RowChangedName="View_1RowChanged" msprop:Generator_RowEvArgName="View_1RowChangeEvent" msprop:Generator_RowClassName="View_1Row">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="КодДоговора" msprop:Generator_ColumnVarNameInTable="columnКодДоговора" msprop:Generator_ColumnPropNameInRow="КодДоговора" msprop:Generator_ColumnPropNameInTable="КодДоговораColumn" msprop:Generator_UserColumnName="КодДоговора" type="xs:long" />
- <xs:element name="КодЗаказчика" msprop:Generator_ColumnVarNameInTable="columnКодЗаказчика" msprop:Generator_ColumnPropNameInRow="КодЗаказчика" msprop:Generator_ColumnPropNameInTable="КодЗаказчикаColumn" msprop:Generator_UserColumnName="КодЗаказчика" type="xs:long" />
- </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="100" />
- </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="2147483647" />
- </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: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="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ЦенаТовара" msprop:Generator_ColumnVarNameInTable="columnЦенаТовара" msprop:Generator_ColumnPropNameInRow="ЦенаТовара" msprop:Generator_ColumnPropNameInTable="ЦенаТовараColumn" msprop:Generator_UserColumnName="ЦенаТовара" type="xs:decimal" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Запрос_Заказы_x002B_ДоговораЗаказов" 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="КодЗаказчика" type="xs:long" minOccurs="0" />
- <xs:element name="КодЗаказа" msprop:Generator_ColumnVarNameInTable="columnКодЗаказа" msprop:Generator_ColumnPropNameInRow="КодЗаказа" msprop:Generator_ColumnPropNameInTable="КодЗаказаColumn" msprop:Generator_UserColumnName="КодЗаказа" type="xs:long" />
- <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="2147483647" />
- </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:long" minOccurs="0" />
- <xs:element name="КодДоговора" msprop:Generator_ColumnVarNameInTable="columnКодДоговора" msprop:Generator_ColumnPropNameInRow="КодДоговора" msprop:Generator_ColumnPropNameInTable="КодДоговораColumn" msprop:Generator_UserColumnName="КодДоговора" type="xs:long" />
- <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="КодОтгрузки" type="xs:long" 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="ФИО" 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="НаименованиеЗаказа" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="НаименованиеТовара" msprop:Generator_ColumnVarNameInTable="columnНаименованиеТовара" msprop:Generator_ColumnPropNameInRow="НаименованиеТовара" msprop:Generator_ColumnPropNameInTable="НаименованиеТовараColumn" msprop:Generator_UserColumnName="НаименованиеТовара" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ЦенаТовара" msprop:Generator_ColumnVarNameInTable="columnЦенаТовара" msprop:Generator_ColumnPropNameInRow="ЦенаТовара" msprop:Generator_ColumnPropNameInTable="ЦенаТовараColumn" msprop:Generator_UserColumnName="ЦенаТовара" type="xs:decimal" minOccurs="0" />
- <xs:element name="ПлановаяПоставка" msprop:Generator_ColumnVarNameInTable="columnПлановаяПоставка" msprop:Generator_ColumnPropNameInRow="ПлановаяПоставка" msprop:Generator_ColumnPropNameInTable="ПлановаяПоставкаColumn" msprop:Generator_UserColumnName="ПлановаяПоставка" 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="НаименованиеТовара" 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="2147483647" />
- </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="100" />
- </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="2147483647" />
- </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="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </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:КодДоговора" />
- </xs:unique>
- <xs:unique name="Заказчик_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Заказчик" />
- <xs:field xpath="mstns:КодЗаказчика" />
- </xs:unique>
- <xs:unique name="Заказы_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Заказы" />
- <xs:field xpath="mstns:КодЗаказа" />
- </xs:unique>
- <xs:unique name="Отгрузка_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Отгрузка" />
- <xs:field xpath="mstns:КодОтгрузки" />
- </xs:unique>
- <xs:unique name="ОтгрузкаТовара_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:ОтгрузкаТовара" />
- <xs:field xpath="mstns:КодОтгрузкаТовара" />
- </xs:unique>
- <xs:unique name="Товары_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Товары" />
- <xs:field xpath="mstns:КодТовара" />
- </xs:unique>
- <xs:unique name="Запрос_Заказы_x002B_ДоговораЗаказов_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Запрос_Заказы_x002B_ДоговораЗаказов" />
- <xs:field xpath="mstns:КодЗаказа" />
- <xs:field xpath="mstns:КодДоговора" />
- </xs:unique>
- </xs:element>
- <xs:annotation>
- <xs:appinfo>
- <msdata:Relationship name="FK_Заказы_ДоговорЗаказа" msdata:parent="ДоговорЗаказа" msdata:child="Заказы" msdata:parentkey="КодДоговора" msdata:childkey="КодДоговора" 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="КодЗаказчика" msdata:childkey="КодЗаказчика" 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="КодОтгрузки" msdata:childkey="КодОтгрузки" 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="КодТовара" msdata:childkey="КодТовара" 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="КодОтгрузки" msdata:childkey="КодОтгрузки" 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="КодТовара" msdata:childkey="КодТовара" msprop:Generator_UserChildTable="ОтгрузкаТовара" msprop:Generator_ChildPropName="GetОтгрузкаТовараRows" msprop:Generator_UserRelationName="FK_ОтгрузкаТовара_Товары" msprop:Generator_RelationVarName="relationFK_ОтгрузкаТовара_Товары" msprop:Generator_UserParentTable="Товары" msprop:Generator_ParentPropName="ТоварыRow" />
- </xs:appinfo>
- </xs:annotation>
- </xs:schema>
|