123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750 |
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema id="trade02DataSet" targetNamespace="http://tempuri.org/trade02DataSet.xsd" xmlns:mstns="http://tempuri.org/trade02DataSet.xsd" xmlns="http://tempuri.org/trade02DataSet.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="trade02ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="trade02ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings._02trade.Properties.Settings.GlobalReference.Default.trade02ConnectionString" Provider="System.Data.SqlClient" />
- </Connections>
- <Tables>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderTableAdapter" GeneratorDataComponentClassName="OrderTableAdapter" Name="Order" UserDataComponentName="OrderTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="trade02ConnectionString (Settings)" DbObjectName="trade02.dbo.[Order]" 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].[Order] WHERE (([OrderID] = @Original_OrderID) AND ([OrderDeliveryDate] = @Original_OrderDeliveryDate) AND ([OrderPickupPoint] = @Original_OrderPickupPoint) AND ((@IsNull_DateZakaza = 1 AND [DateZakaza] IS NULL) OR ([DateZakaza] = @Original_DateZakaza)) AND ((@IsNull_KodPolycheniya = 1 AND [KodPolycheniya] IS NULL) OR ([KodPolycheniya] = @Original_KodPolycheniya)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_OrderDeliveryDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_OrderPickupPoint" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="OrderPickupPoint" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateZakaza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateZakaza" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_DateZakaza" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DateZakaza" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KodPolycheniya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPolycheniya" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_KodPolycheniya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPolycheniya" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Order] ([OrderStatus], [OrderDeliveryDate], [OrderPickupPoint], [DateZakaza], [fioKlienta], [KodPolycheniya]) VALUES (@OrderStatus, @OrderDeliveryDate, @OrderPickupPoint, @DateZakaza, @fioKlienta, @KodPolycheniya);
- SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint, DateZakaza, fioKlienta, KodPolycheniya FROM [Order] WHERE (OrderID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@OrderDeliveryDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@OrderPickupPoint" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="OrderPickupPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@DateZakaza" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DateZakaza" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fioKlienta" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fioKlienta" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@KodPolycheniya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPolycheniya" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint, DateZakaza, fioKlienta, KodPolycheniya FROM dbo.[Order]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Order] SET [OrderStatus] = @OrderStatus, [OrderDeliveryDate] = @OrderDeliveryDate, [OrderPickupPoint] = @OrderPickupPoint, [DateZakaza] = @DateZakaza, [fioKlienta] = @fioKlienta, [KodPolycheniya] = @KodPolycheniya WHERE (([OrderID] = @Original_OrderID) AND ([OrderDeliveryDate] = @Original_OrderDeliveryDate) AND ([OrderPickupPoint] = @Original_OrderPickupPoint) AND ((@IsNull_DateZakaza = 1 AND [DateZakaza] IS NULL) OR ([DateZakaza] = @Original_DateZakaza)) AND ((@IsNull_KodPolycheniya = 1 AND [KodPolycheniya] IS NULL) OR ([KodPolycheniya] = @Original_KodPolycheniya)));
- SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint, DateZakaza, fioKlienta, KodPolycheniya FROM [Order] WHERE (OrderID = @OrderID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@OrderDeliveryDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@OrderPickupPoint" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="OrderPickupPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@DateZakaza" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DateZakaza" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fioKlienta" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fioKlienta" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@KodPolycheniya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPolycheniya" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_OrderDeliveryDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_OrderPickupPoint" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="OrderPickupPoint" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DateZakaza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DateZakaza" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_DateZakaza" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DateZakaza" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KodPolycheniya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPolycheniya" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_KodPolycheniya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPolycheniya" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="OrderID" ColumnName="OrderID" DataSourceName="trade02.dbo.[Order]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="OrderID" DataSetColumn="OrderID" />
- <Mapping SourceColumn="OrderStatus" DataSetColumn="OrderStatus" />
- <Mapping SourceColumn="OrderDeliveryDate" DataSetColumn="OrderDeliveryDate" />
- <Mapping SourceColumn="OrderPickupPoint" DataSetColumn="OrderPickupPoint" />
- <Mapping SourceColumn="DateZakaza" DataSetColumn="DateZakaza" />
- <Mapping SourceColumn="fioKlienta" DataSetColumn="fioKlienta" />
- <Mapping SourceColumn="KodPolycheniya" DataSetColumn="KodPolycheniya" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderProductTableAdapter" GeneratorDataComponentClassName="OrderProductTableAdapter" Name="OrderProduct" UserDataComponentName="OrderProductTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="trade02ConnectionString (Settings)" DbObjectName="trade02.dbo.OrderProduct" 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].[OrderProduct] WHERE (([OrderID] = @Original_OrderID) AND ([ProductArticleNumber] = @Original_ProductArticleNumber) AND ((@IsNull_Количество_товара = 1 AND [Количество_товара] IS NULL) OR ([Количество_товара] = @Original_Количество_товара)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" 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].[OrderProduct] ([OrderID], [ProductArticleNumber], [Количество_товара]) VALUES (@OrderID, @ProductArticleNumber, @Количество_товара);
- SELECT OrderID, ProductArticleNumber, Количество_товара FROM OrderProduct WHERE (OrderID = @OrderID) AND (ProductArticleNumber = @ProductArticleNumber)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" 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 OrderID, ProductArticleNumber, Количество_товара FROM dbo.OrderProduct</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[OrderProduct] SET [OrderID] = @OrderID, [ProductArticleNumber] = @ProductArticleNumber, [Количество_товара] = @Количество_товара WHERE (([OrderID] = @Original_OrderID) AND ([ProductArticleNumber] = @Original_ProductArticleNumber) AND ((@IsNull_Количество_товара = 1 AND [Количество_товара] IS NULL) OR ([Количество_товара] = @Original_Количество_товара)));
- SELECT OrderID, ProductArticleNumber, Количество_товара FROM OrderProduct WHERE (OrderID = @OrderID) AND (ProductArticleNumber = @ProductArticleNumber)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" 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="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" 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>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="OrderID" DataSetColumn="OrderID" />
- <Mapping SourceColumn="ProductArticleNumber" DataSetColumn="ProductArticleNumber" />
- <Mapping SourceColumn="Количество_товара" DataSetColumn="Количество_товара" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductTableAdapter" GeneratorDataComponentClassName="ProductTableAdapter" Name="Product" UserDataComponentName="ProductTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="trade02ConnectionString (Settings)" DbObjectName="trade02.dbo.Product" 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 [Product] WHERE (([ProductArticleNumber] = @Original_ProductArticleNumber) AND ([ProductCost] = @Original_ProductCost) AND ((@IsNull_ProductDiscountAmount = 1 AND [ProductDiscountAmount] IS NULL) OR ([ProductDiscountAmount] = @Original_ProductDiscountAmount)) AND ((@IsNull_ProductMaxDiscount = 1 AND [ProductMaxDiscount] IS NULL) OR ([ProductMaxDiscount] = @Original_ProductMaxDiscount)) AND ([ProductQuantityInStock] = @Original_ProductQuantityInStock) AND ([Id] = @Original_Id) AND ([ProductPhormat] = @Original_ProductPhormat))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ProductCost" Precision="19" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ProductCost" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductDiscountAmount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ProductDiscountAmount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductMaxDiscount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductMaxDiscount" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ProductMaxDiscount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductMaxDiscount" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductQuantityInStock" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductQuantityInStock" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductPhormat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductPhormat" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [Product] ([ProductArticleNumber], [ProductName], [ProductDescription], [ProductCategory], [ProductPhoto], [ProductManufacturer], [ProductCost], [ProductDiscountAmount], [ProductMaxDiscount], [ProductQuantityInStock], [ProductStatus], [ProductPhormat]) VALUES (@ProductArticleNumber, @ProductName, @ProductDescription, @ProductCategory, @ProductPhoto, @ProductManufacturer, @ProductCost, @ProductDiscountAmount, @ProductMaxDiscount, @ProductQuantityInStock, @ProductStatus, @ProductPhormat);
- SELECT ProductArticleNumber, ProductName, ProductDescription, ProductCategory, ProductPhoto, ProductManufacturer, ProductCost, ProductDiscountAmount, ProductMaxDiscount, ProductQuantityInStock, ProductStatus, Id, ProductPhormat FROM Product WHERE (Id = SCOPE_IDENTITY()) AND (ProductArticleNumber = @ProductArticleNumber)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductCategory" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductCategory" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@ProductPhoto" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="ProductPhoto" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductManufacturer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductManufacturer" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ProductCost" Precision="19" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ProductCost" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ProductDiscountAmount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ProductMaxDiscount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductMaxDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductQuantityInStock" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductQuantityInStock" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductPhormat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductPhormat" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT ProductArticleNumber, ProductName, ProductDescription, ProductCategory, ProductPhoto, ProductManufacturer, ProductCost, ProductDiscountAmount, ProductMaxDiscount, ProductQuantityInStock, ProductStatus, Id, ProductPhormat FROM Product</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [Product] SET [ProductArticleNumber] = @ProductArticleNumber, [ProductName] = @ProductName, [ProductDescription] = @ProductDescription, [ProductCategory] = @ProductCategory, [ProductPhoto] = @ProductPhoto, [ProductManufacturer] = @ProductManufacturer, [ProductCost] = @ProductCost, [ProductDiscountAmount] = @ProductDiscountAmount, [ProductMaxDiscount] = @ProductMaxDiscount, [ProductQuantityInStock] = @ProductQuantityInStock, [ProductStatus] = @ProductStatus, [ProductPhormat] = @ProductPhormat WHERE (([ProductArticleNumber] = @Original_ProductArticleNumber) AND ([ProductCost] = @Original_ProductCost) AND ((@IsNull_ProductDiscountAmount = 1 AND [ProductDiscountAmount] IS NULL) OR ([ProductDiscountAmount] = @Original_ProductDiscountAmount)) AND ((@IsNull_ProductMaxDiscount = 1 AND [ProductMaxDiscount] IS NULL) OR ([ProductMaxDiscount] = @Original_ProductMaxDiscount)) AND ([ProductQuantityInStock] = @Original_ProductQuantityInStock) AND ([Id] = @Original_Id) AND ([ProductPhormat] = @Original_ProductPhormat));
- SELECT ProductArticleNumber, ProductName, ProductDescription, ProductCategory, ProductPhoto, ProductManufacturer, ProductCost, ProductDiscountAmount, ProductMaxDiscount, ProductQuantityInStock, ProductStatus, Id, ProductPhormat FROM Product WHERE (Id = @Id) AND (ProductArticleNumber = @ProductArticleNumber)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductCategory" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductCategory" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@ProductPhoto" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="ProductPhoto" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductManufacturer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductManufacturer" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ProductCost" Precision="19" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ProductCost" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ProductDiscountAmount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ProductMaxDiscount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductMaxDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductQuantityInStock" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductQuantityInStock" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductPhormat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductPhormat" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ProductCost" Precision="19" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ProductCost" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductDiscountAmount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ProductDiscountAmount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductMaxDiscount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductMaxDiscount" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ProductMaxDiscount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductMaxDiscount" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductQuantityInStock" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductQuantityInStock" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductPhormat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductPhormat" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="trade02.dbo.Product" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="ProductArticleNumber" DataSetColumn="ProductArticleNumber" />
- <Mapping SourceColumn="ProductName" DataSetColumn="ProductName" />
- <Mapping SourceColumn="ProductDescription" DataSetColumn="ProductDescription" />
- <Mapping SourceColumn="ProductCategory" DataSetColumn="ProductCategory" />
- <Mapping SourceColumn="ProductPhoto" DataSetColumn="ProductPhoto" />
- <Mapping SourceColumn="ProductManufacturer" DataSetColumn="ProductManufacturer" />
- <Mapping SourceColumn="ProductCost" DataSetColumn="ProductCost" />
- <Mapping SourceColumn="ProductDiscountAmount" DataSetColumn="ProductDiscountAmount" />
- <Mapping SourceColumn="ProductMaxDiscount" DataSetColumn="ProductMaxDiscount" />
- <Mapping SourceColumn="ProductQuantityInStock" DataSetColumn="ProductQuantityInStock" />
- <Mapping SourceColumn="ProductStatus" DataSetColumn="ProductStatus" />
- <Mapping SourceColumn="Id" DataSetColumn="Id" />
- <Mapping SourceColumn="ProductPhormat" DataSetColumn="ProductPhormat" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="punkt_vidachiTableAdapter" GeneratorDataComponentClassName="punkt_vidachiTableAdapter" Name="punkt_vidachi" UserDataComponentName="punkt_vidachiTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="trade02ConnectionString (Settings)" DbObjectName="trade02.dbo.punkt_vidachi" 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].[punkt_vidachi] WHERE (([id] = @Original_id) AND ([index] = @Original_index) AND ([gorod] = @Original_gorod) AND ([ulica] = @Original_ulica) AND ((@IsNull_dom = 1 AND [dom] IS NULL) OR ([dom] = @Original_dom)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_index" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="index" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gorod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gorod" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dom" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_dom" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="dom" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[punkt_vidachi] ([index], [gorod], [ulica], [dom]) VALUES (@index, @gorod, @ulica, @dom);
- SELECT id, [index], gorod, ulica, dom FROM punkt_vidachi WHERE (id = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@index" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="index" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gorod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gorod" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@dom" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="dom" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id, [index], gorod, ulica, dom FROM dbo.punkt_vidachi</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[punkt_vidachi] SET [index] = @index, [gorod] = @gorod, [ulica] = @ulica, [dom] = @dom WHERE (([id] = @Original_id) AND ([index] = @Original_index) AND ([gorod] = @Original_gorod) AND ([ulica] = @Original_ulica) AND ((@IsNull_dom = 1 AND [dom] IS NULL) OR ([dom] = @Original_dom)));
- SELECT id, [index], gorod, ulica, dom FROM punkt_vidachi WHERE (id = @id)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@index" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="index" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gorod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gorod" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@dom" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="dom" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_index" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="index" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gorod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gorod" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dom" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_dom" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="dom" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="trade02.dbo.punkt_vidachi" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@id" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="id" DataSetColumn="id" />
- <Mapping SourceColumn="index" DataSetColumn="index" />
- <Mapping SourceColumn="gorod" DataSetColumn="gorod" />
- <Mapping SourceColumn="ulica" DataSetColumn="ulica" />
- <Mapping SourceColumn="dom" DataSetColumn="dom" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RoleTableAdapter" GeneratorDataComponentClassName="RoleTableAdapter" Name="Role" UserDataComponentName="RoleTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="trade02ConnectionString (Settings)" DbObjectName="trade02.dbo.Role" 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].[Role] WHERE (([RoleID] = @Original_RoleID) AND ([RoleName] = @Original_RoleName))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Role] ([RoleName]) VALUES (@RoleName);
- SELECT RoleID, RoleName FROM Role WHERE (RoleID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT RoleID, RoleName FROM dbo.Role</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Role] SET [RoleName] = @RoleName WHERE (([RoleID] = @Original_RoleID) AND ([RoleName] = @Original_RoleName));
- SELECT RoleID, RoleName FROM Role WHERE (RoleID = @RoleID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="RoleID" ColumnName="RoleID" DataSourceName="trade02.dbo.Role" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@RoleID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="RoleID" DataSetColumn="RoleID" />
- <Mapping SourceColumn="RoleName" DataSetColumn="RoleName" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UserTableAdapter" GeneratorDataComponentClassName="UserTableAdapter" Name="User" UserDataComponentName="UserTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="trade02ConnectionString (Settings)" DbObjectName="trade02.dbo.[User]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[User] WHERE (([UserID] = @Original_UserID) AND ([UserSurname] = @Original_UserSurname) AND ([UserName] = @Original_UserName) AND ([UserPatronymic] = @Original_UserPatronymic) AND ([UserRole] = @Original_UserRole))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[User] ([UserSurname], [UserName], [UserPatronymic], [UserLogin], [UserPassword], [UserRole]) VALUES (@UserSurname, @UserName, @UserPatronymic, @UserLogin, @UserPassword, @UserRole);
- SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM [User] WHERE (UserID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserLogin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM dbo.[User]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[User] SET [UserSurname] = @UserSurname, [UserName] = @UserName, [UserPatronymic] = @UserPatronymic, [UserLogin] = @UserLogin, [UserPassword] = @UserPassword, [UserRole] = @UserRole WHERE (([UserID] = @Original_UserID) AND ([UserSurname] = @Original_UserSurname) AND ([UserName] = @Original_UserName) AND ([UserPatronymic] = @Original_UserPatronymic) AND ([UserRole] = @Original_UserRole));
- SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM [User] WHERE (UserID = @UserID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserLogin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="UserID" ColumnName="UserID" DataSourceName="trade02.dbo.[User]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
- <Mapping SourceColumn="UserSurname" DataSetColumn="UserSurname" />
- <Mapping SourceColumn="UserName" DataSetColumn="UserName" />
- <Mapping SourceColumn="UserPatronymic" DataSetColumn="UserPatronymic" />
- <Mapping SourceColumn="UserLogin" DataSetColumn="UserLogin" />
- <Mapping SourceColumn="UserPassword" DataSetColumn="UserPassword" />
- <Mapping SourceColumn="UserRole" DataSetColumn="UserRole" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UserTableTableAdapter" GeneratorDataComponentClassName="UserTableTableAdapter" Name="UserTable" UserDataComponentName="UserTableTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="trade02ConnectionString (Settings)" DbObjectName="trade02.dbo.UserTable" 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].[UserTable] WHERE (([UserID] = @Original_UserID) AND ([UserSurname] = @Original_UserSurname) AND ([UserName] = @Original_UserName) AND ([UserPatronymic] = @Original_UserPatronymic) AND ([UserRole] = @Original_UserRole))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[UserTable] ([UserSurname], [UserName], [UserPatronymic], [UserLogin], [UserPassword], [UserRole]) VALUES (@UserSurname, @UserName, @UserPatronymic, @UserLogin, @UserPassword, @UserRole);
- SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM UserTable WHERE (UserID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserLogin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM dbo.UserTable</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[UserTable] SET [UserSurname] = @UserSurname, [UserName] = @UserName, [UserPatronymic] = @UserPatronymic, [UserLogin] = @UserLogin, [UserPassword] = @UserPassword, [UserRole] = @UserRole WHERE (([UserID] = @Original_UserID) AND ([UserSurname] = @Original_UserSurname) AND ([UserName] = @Original_UserName) AND ([UserPatronymic] = @Original_UserPatronymic) AND ([UserRole] = @Original_UserRole));
- SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM UserTable WHERE (UserID = @UserID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserLogin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="UserID" ColumnName="UserID" DataSourceName="trade02.dbo.UserTable" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
- <Mapping SourceColumn="UserSurname" DataSetColumn="UserSurname" />
- <Mapping SourceColumn="UserName" DataSetColumn="UserName" />
- <Mapping SourceColumn="UserPatronymic" DataSetColumn="UserPatronymic" />
- <Mapping SourceColumn="UserLogin" DataSetColumn="UserLogin" />
- <Mapping SourceColumn="UserPassword" DataSetColumn="UserPassword" />
- <Mapping SourceColumn="UserRole" DataSetColumn="UserRole" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="trade02DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="trade02DataSet" msprop:Generator_UserDSName="trade02DataSet">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="Order" msprop:Generator_TableClassName="OrderDataTable" msprop:Generator_TableVarName="tableOrder" msprop:Generator_RowChangedName="OrderRowChanged" msprop:Generator_TablePropName="Order" msprop:Generator_RowDeletingName="OrderRowDeleting" msprop:Generator_RowChangingName="OrderRowChanging" msprop:Generator_RowEvHandlerName="OrderRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderRowDeleted" msprop:Generator_RowClassName="OrderRow" msprop:Generator_UserTableName="Order" msprop:Generator_RowEvArgName="OrderRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="OrderID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnOrderID" msprop:Generator_ColumnPropNameInRow="OrderID" msprop:Generator_ColumnPropNameInTable="OrderIDColumn" msprop:Generator_UserColumnName="OrderID" type="xs:int" />
- <xs:element name="OrderStatus" msprop:Generator_ColumnVarNameInTable="columnOrderStatus" msprop:Generator_ColumnPropNameInRow="OrderStatus" msprop:Generator_ColumnPropNameInTable="OrderStatusColumn" msprop:Generator_UserColumnName="OrderStatus">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="OrderDeliveryDate" msprop:Generator_ColumnVarNameInTable="columnOrderDeliveryDate" msprop:Generator_ColumnPropNameInRow="OrderDeliveryDate" msprop:Generator_ColumnPropNameInTable="OrderDeliveryDateColumn" msprop:Generator_UserColumnName="OrderDeliveryDate" type="xs:dateTime" />
- <xs:element name="OrderPickupPoint" msprop:Generator_ColumnVarNameInTable="columnOrderPickupPoint" msprop:Generator_ColumnPropNameInRow="OrderPickupPoint" msprop:Generator_ColumnPropNameInTable="OrderPickupPointColumn" msprop:Generator_UserColumnName="OrderPickupPoint" type="xs:unsignedByte" />
- <xs:element name="DateZakaza" msprop:Generator_ColumnVarNameInTable="columnDateZakaza" msprop:Generator_ColumnPropNameInRow="DateZakaza" msprop:Generator_ColumnPropNameInTable="DateZakazaColumn" msprop:Generator_UserColumnName="DateZakaza" type="xs:dateTime" minOccurs="0" />
- <xs:element name="fioKlienta" msprop:Generator_ColumnVarNameInTable="columnfioKlienta" msprop:Generator_ColumnPropNameInRow="fioKlienta" msprop:Generator_ColumnPropNameInTable="fioKlientaColumn" msprop:Generator_UserColumnName="fioKlienta" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="KodPolycheniya" msprop:Generator_ColumnVarNameInTable="columnKodPolycheniya" msprop:Generator_ColumnPropNameInRow="KodPolycheniya" msprop:Generator_ColumnPropNameInTable="KodPolycheniyaColumn" msprop:Generator_UserColumnName="KodPolycheniya" type="xs:int" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="OrderProduct" msprop:Generator_TableClassName="OrderProductDataTable" msprop:Generator_TableVarName="tableOrderProduct" msprop:Generator_RowChangedName="OrderProductRowChanged" msprop:Generator_TablePropName="OrderProduct" msprop:Generator_RowDeletingName="OrderProductRowDeleting" msprop:Generator_RowChangingName="OrderProductRowChanging" msprop:Generator_RowEvHandlerName="OrderProductRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderProductRowDeleted" msprop:Generator_RowClassName="OrderProductRow" msprop:Generator_UserTableName="OrderProduct" msprop:Generator_RowEvArgName="OrderProductRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="OrderID" msprop:Generator_ColumnVarNameInTable="columnOrderID" msprop:Generator_ColumnPropNameInRow="OrderID" msprop:Generator_ColumnPropNameInTable="OrderIDColumn" msprop:Generator_UserColumnName="OrderID" type="xs:int" />
- <xs:element name="ProductArticleNumber" msprop:Generator_ColumnVarNameInTable="columnProductArticleNumber" msprop:Generator_ColumnPropNameInRow="ProductArticleNumber" msprop:Generator_ColumnPropNameInTable="ProductArticleNumberColumn" msprop:Generator_UserColumnName="ProductArticleNumber">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Количество_товара" msprop:Generator_ColumnVarNameInTable="columnКоличество_товара" msprop:Generator_ColumnPropNameInRow="Количество_товара" msprop:Generator_ColumnPropNameInTable="Количество_товараColumn" msprop:Generator_UserColumnName="Количество_товара" type="xs:int" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Product" msprop:Generator_TableClassName="ProductDataTable" msprop:Generator_TableVarName="tableProduct" msprop:Generator_RowChangedName="ProductRowChanged" msprop:Generator_TablePropName="Product" msprop:Generator_RowDeletingName="ProductRowDeleting" msprop:Generator_RowChangingName="ProductRowChanging" msprop:Generator_RowEvHandlerName="ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductRowDeleted" msprop:Generator_RowClassName="ProductRow" msprop:Generator_UserTableName="Product" msprop:Generator_RowEvArgName="ProductRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="ProductArticleNumber" msprop:Generator_ColumnVarNameInTable="columnProductArticleNumber" msprop:Generator_ColumnPropNameInRow="ProductArticleNumber" msprop:Generator_ColumnPropNameInTable="ProductArticleNumberColumn" msprop:Generator_UserColumnName="ProductArticleNumber">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ProductName" msprop:Generator_ColumnVarNameInTable="columnProductName" msprop:Generator_ColumnPropNameInRow="ProductName" msprop:Generator_ColumnPropNameInTable="ProductNameColumn" msprop:Generator_UserColumnName="ProductName">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ProductDescription" msprop:Generator_ColumnVarNameInTable="columnProductDescription" msprop:Generator_ColumnPropNameInRow="ProductDescription" msprop:Generator_ColumnPropNameInTable="ProductDescriptionColumn" msprop:Generator_UserColumnName="ProductDescription">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ProductCategory" msprop:Generator_ColumnVarNameInTable="columnProductCategory" msprop:Generator_ColumnPropNameInRow="ProductCategory" msprop:Generator_ColumnPropNameInTable="ProductCategoryColumn" msprop:Generator_UserColumnName="ProductCategory">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ProductPhoto" msprop:Generator_ColumnVarNameInTable="columnProductPhoto" msprop:Generator_ColumnPropNameInRow="ProductPhoto" msprop:Generator_ColumnPropNameInTable="ProductPhotoColumn" msprop:Generator_UserColumnName="ProductPhoto" type="xs:base64Binary" minOccurs="0" />
- <xs:element name="ProductManufacturer" msprop:Generator_ColumnVarNameInTable="columnProductManufacturer" msprop:Generator_ColumnPropNameInRow="ProductManufacturer" msprop:Generator_ColumnPropNameInTable="ProductManufacturerColumn" msprop:Generator_UserColumnName="ProductManufacturer">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ProductCost" msprop:Generator_ColumnVarNameInTable="columnProductCost" msprop:Generator_ColumnPropNameInRow="ProductCost" msprop:Generator_ColumnPropNameInTable="ProductCostColumn" msprop:Generator_UserColumnName="ProductCost" type="xs:decimal" />
- <xs:element name="ProductDiscountAmount" msprop:Generator_ColumnVarNameInTable="columnProductDiscountAmount" msprop:Generator_ColumnPropNameInRow="ProductDiscountAmount" msprop:Generator_ColumnPropNameInTable="ProductDiscountAmountColumn" msprop:Generator_UserColumnName="ProductDiscountAmount" type="xs:unsignedByte" minOccurs="0" />
- <xs:element name="ProductMaxDiscount" msprop:Generator_ColumnVarNameInTable="columnProductMaxDiscount" msprop:Generator_ColumnPropNameInRow="ProductMaxDiscount" msprop:Generator_ColumnPropNameInTable="ProductMaxDiscountColumn" msprop:Generator_UserColumnName="ProductMaxDiscount" type="xs:unsignedByte" minOccurs="0" />
- <xs:element name="ProductQuantityInStock" msprop:Generator_ColumnVarNameInTable="columnProductQuantityInStock" msprop:Generator_ColumnPropNameInRow="ProductQuantityInStock" msprop:Generator_ColumnPropNameInTable="ProductQuantityInStockColumn" msprop:Generator_UserColumnName="ProductQuantityInStock" type="xs:int" />
- <xs:element name="ProductStatus" msprop:Generator_ColumnVarNameInTable="columnProductStatus" msprop:Generator_ColumnPropNameInRow="ProductStatus" msprop:Generator_ColumnPropNameInTable="ProductStatusColumn" msprop:Generator_UserColumnName="ProductStatus" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
- <xs:element name="ProductPhormat" msprop:Generator_ColumnVarNameInTable="columnProductPhormat" msprop:Generator_ColumnPropNameInRow="ProductPhormat" msprop:Generator_ColumnPropNameInTable="ProductPhormatColumn" msprop:Generator_UserColumnName="ProductPhormat">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="punkt_vidachi" msprop:Generator_TableClassName="punkt_vidachiDataTable" msprop:Generator_TableVarName="tablepunkt_vidachi" msprop:Generator_RowChangedName="punkt_vidachiRowChanged" msprop:Generator_TablePropName="punkt_vidachi" msprop:Generator_RowDeletingName="punkt_vidachiRowDeleting" msprop:Generator_RowChangingName="punkt_vidachiRowChanging" msprop:Generator_RowEvHandlerName="punkt_vidachiRowChangeEventHandler" msprop:Generator_RowDeletedName="punkt_vidachiRowDeleted" msprop:Generator_RowClassName="punkt_vidachiRow" msprop:Generator_UserTableName="punkt_vidachi" msprop:Generator_RowEvArgName="punkt_vidachiRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:unsignedByte" />
- <xs:element name="index" msprop:Generator_ColumnVarNameInTable="columnindex" msprop:Generator_ColumnPropNameInRow="index" msprop:Generator_ColumnPropNameInTable="indexColumn" msprop:Generator_UserColumnName="index" type="xs:int" />
- <xs:element name="gorod" msprop:Generator_ColumnVarNameInTable="columngorod" msprop:Generator_ColumnPropNameInRow="gorod" msprop:Generator_ColumnPropNameInTable="gorodColumn" msprop:Generator_UserColumnName="gorod">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="ulica" msprop:Generator_ColumnVarNameInTable="columnulica" msprop:Generator_ColumnPropNameInRow="ulica" msprop:Generator_ColumnPropNameInTable="ulicaColumn" msprop:Generator_UserColumnName="ulica">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="dom" msprop:Generator_ColumnVarNameInTable="columndom" msprop:Generator_ColumnPropNameInRow="dom" msprop:Generator_ColumnPropNameInTable="domColumn" msprop:Generator_UserColumnName="dom" type="xs:unsignedByte" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Role" msprop:Generator_TableClassName="RoleDataTable" msprop:Generator_TableVarName="tableRole" msprop:Generator_RowChangedName="RoleRowChanged" msprop:Generator_TablePropName="Role" msprop:Generator_RowDeletingName="RoleRowDeleting" msprop:Generator_RowChangingName="RoleRowChanging" msprop:Generator_RowEvHandlerName="RoleRowChangeEventHandler" msprop:Generator_RowDeletedName="RoleRowDeleted" msprop:Generator_RowClassName="RoleRow" msprop:Generator_UserTableName="Role" msprop:Generator_RowEvArgName="RoleRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="RoleID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnRoleID" msprop:Generator_ColumnPropNameInRow="RoleID" msprop:Generator_ColumnPropNameInTable="RoleIDColumn" msprop:Generator_UserColumnName="RoleID" type="xs:int" />
- <xs:element name="RoleName" msprop:Generator_ColumnVarNameInTable="columnRoleName" msprop:Generator_ColumnPropNameInRow="RoleName" msprop:Generator_ColumnPropNameInTable="RoleNameColumn" msprop:Generator_UserColumnName="RoleName">
- <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="User" msprop:Generator_TableClassName="UserDataTable" msprop:Generator_TableVarName="tableUser" msprop:Generator_RowChangedName="UserRowChanged" msprop:Generator_TablePropName="User" msprop:Generator_RowDeletingName="UserRowDeleting" msprop:Generator_RowChangingName="UserRowChanging" msprop:Generator_RowEvHandlerName="UserRowChangeEventHandler" msprop:Generator_RowDeletedName="UserRowDeleted" msprop:Generator_RowClassName="UserRow" msprop:Generator_UserTableName="User" msprop:Generator_RowEvArgName="UserRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="UserID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID" type="xs:int" />
- <xs:element name="UserSurname" msprop:Generator_ColumnVarNameInTable="columnUserSurname" msprop:Generator_ColumnPropNameInRow="UserSurname" msprop:Generator_ColumnPropNameInTable="UserSurnameColumn" msprop:Generator_UserColumnName="UserSurname">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn" msprop:Generator_UserColumnName="UserName">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserPatronymic" msprop:Generator_ColumnVarNameInTable="columnUserPatronymic" msprop:Generator_ColumnPropNameInRow="UserPatronymic" msprop:Generator_ColumnPropNameInTable="UserPatronymicColumn" msprop:Generator_UserColumnName="UserPatronymic">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserLogin" msprop:Generator_ColumnVarNameInTable="columnUserLogin" msprop:Generator_ColumnPropNameInRow="UserLogin" msprop:Generator_ColumnPropNameInTable="UserLoginColumn" msprop:Generator_UserColumnName="UserLogin">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserPassword" msprop:Generator_ColumnVarNameInTable="columnUserPassword" msprop:Generator_ColumnPropNameInRow="UserPassword" msprop:Generator_ColumnPropNameInTable="UserPasswordColumn" msprop:Generator_UserColumnName="UserPassword">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserRole" msprop:Generator_ColumnVarNameInTable="columnUserRole" msprop:Generator_ColumnPropNameInRow="UserRole" msprop:Generator_ColumnPropNameInTable="UserRoleColumn" msprop:Generator_UserColumnName="UserRole" type="xs:int" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="UserTable" msprop:Generator_TableClassName="UserTableDataTable" msprop:Generator_TableVarName="tableUserTable" msprop:Generator_TablePropName="UserTable" msprop:Generator_RowDeletingName="UserTableRowDeleting" msprop:Generator_RowChangingName="UserTableRowChanging" msprop:Generator_RowEvHandlerName="UserTableRowChangeEventHandler" msprop:Generator_RowDeletedName="UserTableRowDeleted" msprop:Generator_UserTableName="UserTable" msprop:Generator_RowChangedName="UserTableRowChanged" msprop:Generator_RowEvArgName="UserTableRowChangeEvent" msprop:Generator_RowClassName="UserTableRow">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="UserID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID" type="xs:int" />
- <xs:element name="UserSurname" msprop:Generator_ColumnVarNameInTable="columnUserSurname" msprop:Generator_ColumnPropNameInRow="UserSurname" msprop:Generator_ColumnPropNameInTable="UserSurnameColumn" msprop:Generator_UserColumnName="UserSurname">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn" msprop:Generator_UserColumnName="UserName">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserPatronymic" msprop:Generator_ColumnVarNameInTable="columnUserPatronymic" msprop:Generator_ColumnPropNameInRow="UserPatronymic" msprop:Generator_ColumnPropNameInTable="UserPatronymicColumn" msprop:Generator_UserColumnName="UserPatronymic">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserLogin" msprop:Generator_ColumnVarNameInTable="columnUserLogin" msprop:Generator_ColumnPropNameInRow="UserLogin" msprop:Generator_ColumnPropNameInTable="UserLoginColumn" msprop:Generator_UserColumnName="UserLogin">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserPassword" msprop:Generator_ColumnVarNameInTable="columnUserPassword" msprop:Generator_ColumnPropNameInRow="UserPassword" msprop:Generator_ColumnPropNameInTable="UserPasswordColumn" msprop:Generator_UserColumnName="UserPassword">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="UserRole" msprop:Generator_ColumnVarNameInTable="columnUserRole" msprop:Generator_ColumnPropNameInRow="UserRole" msprop:Generator_ColumnPropNameInTable="UserRoleColumn" msprop:Generator_UserColumnName="UserRole" type="xs:int" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Order" />
- <xs:field xpath="mstns:OrderID" />
- </xs:unique>
- <xs:unique name="OrderProduct_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:OrderProduct" />
- <xs:field xpath="mstns:OrderID" />
- <xs:field xpath="mstns:ProductArticleNumber" />
- </xs:unique>
- <xs:unique name="Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Product" />
- <xs:field xpath="mstns:ProductArticleNumber" />
- </xs:unique>
- <xs:unique name="punkt_vidachi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:punkt_vidachi" />
- <xs:field xpath="mstns:id" />
- </xs:unique>
- <xs:unique name="Role_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Role" />
- <xs:field xpath="mstns:RoleID" />
- </xs:unique>
- <xs:unique name="User_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:User" />
- <xs:field xpath="mstns:UserID" />
- </xs:unique>
- <xs:unique name="UserTable_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:UserTable" />
- <xs:field xpath="mstns:UserID" />
- </xs:unique>
- </xs:element>
- <xs:annotation>
- <xs:appinfo>
- <msdata:Relationship name="FK_Order_punkt_vidachi" msdata:parent="punkt_vidachi" msdata:child="Order" msdata:parentkey="id" msdata:childkey="OrderPickupPoint" msprop:Generator_UserChildTable="Order" msprop:Generator_ChildPropName="GetOrderRows" msprop:Generator_UserRelationName="FK_Order_punkt_vidachi" msprop:Generator_ParentPropName="punkt_vidachiRow" msprop:Generator_RelationVarName="relationFK_Order_punkt_vidachi" msprop:Generator_UserParentTable="punkt_vidachi" />
- <msdata:Relationship name="FK_OrderProduct_Order" msdata:parent="Order" msdata:child="OrderProduct" msdata:parentkey="OrderID" msdata:childkey="OrderID" msprop:Generator_UserChildTable="OrderProduct" msprop:Generator_ChildPropName="GetOrderProductRows" msprop:Generator_UserRelationName="FK_OrderProduct_Order" msprop:Generator_RelationVarName="relationFK_OrderProduct_Order" msprop:Generator_UserParentTable="Order" msprop:Generator_ParentPropName="OrderRow" />
- <msdata:Relationship name="FK__User__UserRole__25869641" msdata:parent="Role" msdata:child="User" msdata:parentkey="RoleID" msdata:childkey="UserRole" msprop:Generator_UserChildTable="User" msprop:Generator_ChildPropName="GetUserRows" msprop:Generator_UserRelationName="FK__User__UserRole__25869641" msprop:Generator_RelationVarName="relationFK__User__UserRole__25869641" msprop:Generator_UserParentTable="Role" msprop:Generator_ParentPropName="RoleRow" />
- <msdata:Relationship name="FK__User__UserRole__258696411" msdata:parent="Role" msdata:child="UserTable" msdata:parentkey="RoleID" msdata:childkey="UserRole" msprop:Generator_UserChildTable="UserTable" msprop:Generator_ChildPropName="GetUserTableRows" msprop:Generator_UserRelationName="FK__User__UserRole__258696411" msprop:Generator_ParentPropName="RoleRow" msprop:Generator_RelationVarName="relationFK__User__UserRole__258696411" msprop:Generator_UserParentTable="Role" />
- </xs:appinfo>
- </xs:annotation>
- </xs:schema>
|