12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160 |
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema id="OOOTORG_LebedenkoDataSet" targetNamespace="http://tempuri.org/OOOTORG_LebedenkoDataSet.xsd" xmlns:mstns="http://tempuri.org/OOOTORG_LebedenkoDataSet.xsd" xmlns="http://tempuri.org/OOOTORG_LebedenkoDataSet.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="OOOTORG_LebedenkoConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="OOOTORG_LebedenkoConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.oootorg.Properties.Settings.GlobalReference.Default.OOOTORG_LebedenkoConnectionString" Provider="System.Data.SqlClient" />
- </Connections>
- <Tables>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DataLoginTableAdapter" GeneratorDataComponentClassName="DataLoginTableAdapter" Name="DataLogin" UserDataComponentName="DataLoginTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.DataLogin" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[DataLogin] ([Login], [Password]) VALUES (@Login, @Password)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT Login, Password FROM dbo.DataLogin</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Login" DataSetColumn="Login" />
- <Mapping SourceColumn="Password" DataSetColumn="Password" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ГородаTableAdapter" GeneratorDataComponentClassName="ГородаTableAdapter" Name="Города" UserDataComponentName="ГородаTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.Города" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Города] WHERE (([Код города] = @Original_Код_города))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_города" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код города" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Города] ([Код города], [Название]) VALUES (@Код_города, @Название);
- SELECT [Код города], Название FROM Города WHERE ([Код города] = @Код_города)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_города" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код города" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код города], Название FROM dbo.Города</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Города] SET [Код города] = @Код_города, [Название] = @Название WHERE (([Код города] = @Original_Код_города));
- SELECT [Код города], Название FROM Города WHERE ([Код города] = @Код_города)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_города" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код города" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" 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="Код города" DataSetColumn="Код города" />
- <Mapping SourceColumn="Название" DataSetColumn="Название" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Единицы измеренияTableAdapter" GeneratorDataComponentClassName="Единицы_измеренияTableAdapter" Name="Единицы измерения" UserDataComponentName="Единицы измеренияTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.[Единицы измерения]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Единицы измерения] WHERE (([Код единицы измерения] = @Original_Код_единицы_измерения))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_единицы_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код единицы измерения" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Единицы измерения] ([Код единицы измерения], [Название]) VALUES (@Код_единицы_измерения, @Название);
- SELECT [Код единицы измерения], Название FROM [Единицы измерения] WHERE ([Код единицы измерения] = @Код_единицы_измерения)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_единицы_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код единицы измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код единицы измерения], Название FROM dbo.[Единицы измерения]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Единицы измерения] SET [Код единицы измерения] = @Код_единицы_измерения, [Название] = @Название WHERE (([Код единицы измерения] = @Original_Код_единицы_измерения));
- SELECT [Код единицы измерения], Название FROM [Единицы измерения] WHERE ([Код единицы измерения] = @Код_единицы_измерения)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_единицы_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код единицы измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" 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="Код единицы измерения" DataSetColumn="Код единицы измерения" />
- <Mapping SourceColumn="Название" DataSetColumn="Название" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ЗаказыTableAdapter" GeneratorDataComponentClassName="ЗаказыTableAdapter" Name="Заказы" UserDataComponentName="ЗаказыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.Заказы" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Заказы] WHERE (([Код заказа] = @Original_Код_заказа) AND ((@IsNull_Количество_товара = 1 AND [Количество товара] IS NULL) OR ([Количество товара] = @Original_Количество_товара)) AND ((@IsNull_Товар = 1 AND [Товар] IS NULL) OR ([Товар] = @Original_Товар)) AND ((@IsNull_Статус_заказа = 1 AND [Статус заказа] IS NULL) OR ([Статус заказа] = @Original_Статус_заказа)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество товара" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество товара" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Товар" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Товар" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Товар" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Товар" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Статус_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Статус заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Статус_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Статус заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Заказы] ([Код заказа], [Клиент], [Количество товара], [Товар], [Статус заказа]) VALUES (@Код_заказа, @Клиент, @Количество_товара, @Товар, @Статус_заказа);
- SELECT [Код заказа], Клиент, [Количество товара], Товар, [Статус заказа] FROM Заказы WHERE ([Код заказа] = @Код_заказа)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Клиент" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Клиент" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество товара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Товар" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Товар" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Статус_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Статус заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код заказа], Клиент, [Количество товара], Товар, [Статус заказа] FROM dbo.Заказы</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Заказы] SET [Код заказа] = @Код_заказа, [Клиент] = @Клиент, [Количество товара] = @Количество_товара, [Товар] = @Товар, [Статус заказа] = @Статус_заказа WHERE (([Код заказа] = @Original_Код_заказа) AND ((@IsNull_Количество_товара = 1 AND [Количество товара] IS NULL) OR ([Количество товара] = @Original_Количество_товара)) AND ((@IsNull_Товар = 1 AND [Товар] IS NULL) OR ([Товар] = @Original_Товар)) AND ((@IsNull_Статус_заказа = 1 AND [Статус заказа] IS NULL) OR ([Статус заказа] = @Original_Статус_заказа)));
- SELECT [Код заказа], Клиент, [Количество товара], Товар, [Статус заказа] FROM Заказы WHERE ([Код заказа] = @Код_заказа)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Клиент" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Клиент" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество товара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Товар" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Товар" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="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_Код_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество товара" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество товара" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Товар" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Товар" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Товар" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Товар" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Статус_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Статус заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="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="Код заказа" DataSetColumn="Код заказа" />
- <Mapping SourceColumn="Клиент" DataSetColumn="Клиент" />
- <Mapping SourceColumn="Количество товара" DataSetColumn="Количество товара" />
- <Mapping SourceColumn="Товар" DataSetColumn="Товар" />
- <Mapping SourceColumn="Статус заказа" DataSetColumn="Статус заказа" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="КатегорияTableAdapter" GeneratorDataComponentClassName="КатегорияTableAdapter" Name="Категория" UserDataComponentName="КатегорияTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.Категория" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Категория] WHERE (([Код категории] = @Original_Код_категории))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_категории" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код категории" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Категория] ([Код категории], [Название]) VALUES (@Код_категории, @Название);
- SELECT [Код категории], Название FROM Категория WHERE ([Код категории] = @Код_категории)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_категории" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код категории" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код категории], Название FROM dbo.Категория</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Категория] SET [Код категории] = @Код_категории, [Название] = @Название WHERE (([Код категории] = @Original_Код_категории));
- SELECT [Код категории], Название FROM Категория WHERE ([Код категории] = @Код_категории)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_категории" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код категории" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" 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="Код категории" DataSetColumn="Код категории" />
- <Mapping SourceColumn="Название" DataSetColumn="Название" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="КлиентыTableAdapter" GeneratorDataComponentClassName="КлиентыTableAdapter" Name="Клиенты" UserDataComponentName="КлиентыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.Клиенты" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Клиенты] WHERE (([Код покупателя] = @Original_Код_покупателя) AND ((@IsNull_Телефон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_покупателя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код покупателя" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Клиенты] ([Код покупателя], [ФИО], [Телефон], [Электронная почта]) VALUES (@Код_покупателя, @ФИО, @Телефон, @Электронная_почта);
- SELECT [Код покупателя], ФИО, Телефон, [Электронная почта] FROM Клиенты WHERE ([Код покупателя] = @Код_покупателя)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_покупателя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код покупателя" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Электронная_почта" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Электронная почта" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код покупателя], ФИО, Телефон, [Электронная почта] FROM dbo.Клиенты</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Клиенты] SET [Код покупателя] = @Код_покупателя, [ФИО] = @ФИО, [Телефон] = @Телефон, [Электронная почта] = @Электронная_почта WHERE (([Код покупателя] = @Original_Код_покупателя) AND ((@IsNull_Телефон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)));
- SELECT [Код покупателя], ФИО, Телефон, [Электронная почта] FROM Клиенты WHERE ([Код покупателя] = @Код_покупателя)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_покупателя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код покупателя" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Электронная_почта" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Электронная почта" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_покупателя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код покупателя" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="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="Код покупателя" DataSetColumn="Код покупателя" />
- <Mapping SourceColumn="ФИО" DataSetColumn="ФИО" />
- <Mapping SourceColumn="Телефон" DataSetColumn="Телефон" />
- <Mapping SourceColumn="Электронная почта" DataSetColumn="Электронная почта" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ПродажаTableAdapter" GeneratorDataComponentClassName="ПродажаTableAdapter" Name="Продажа" UserDataComponentName="ПродажаTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.Продажа" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Продажа] WHERE (([Код продажи] = @Original_Код_продажи) AND ((@IsNull_Дата_продажи = 1 AND [Дата продажи] IS NULL) OR ([Дата продажи] = @Original_Дата_продажи)) AND ((@IsNull_Способ_оплаты = 1 AND [Способ оплаты] IS NULL) OR ([Способ оплаты] = @Original_Способ_оплаты)) AND ((@IsNull_Сотрудник = 1 AND [Сотрудник] IS NULL) OR ([Сотрудник] = @Original_Сотрудник)) AND ((@IsNull_Заказ = 1 AND [Заказ] IS NULL) OR ([Заказ] = @Original_Заказ)) AND ((@IsNull_Артикул = 1 AND [Артикул] IS NULL) OR ([Артикул] = @Original_Артикул)) AND ((@IsNull_Покупатель = 1 AND [Покупатель] IS NULL) OR ([Покупатель] = @Original_Покупатель)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_продажи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код продажи" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_продажи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата продажи" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_продажи" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата продажи" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Способ_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Способ оплаты" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Способ_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Способ оплаты" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Заказ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Заказ" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Заказ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Заказ" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Покупатель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Покупатель" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Покупатель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Покупатель" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Продажа] ([Код продажи], [Дата продажи], [Способ оплаты], [Сотрудник], [Заказ], [Артикул], [Покупатель]) VALUES (@Код_продажи, @Дата_продажи, @Способ_оплаты, @Сотрудник, @Заказ, @Артикул, @Покупатель);
- SELECT [Код продажи], [Дата продажи], [Способ оплаты], Сотрудник, Заказ, Артикул, Покупатель FROM Продажа WHERE ([Код продажи] = @Код_продажи)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_продажи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код продажи" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_продажи" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата продажи" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Способ_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Способ оплаты" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Заказ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Заказ" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Покупатель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Покупатель" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код продажи], [Дата продажи], [Способ оплаты], Сотрудник, Заказ, Артикул, Покупатель FROM dbo.Продажа</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Продажа] SET [Код продажи] = @Код_продажи, [Дата продажи] = @Дата_продажи, [Способ оплаты] = @Способ_оплаты, [Сотрудник] = @Сотрудник, [Заказ] = @Заказ, [Артикул] = @Артикул, [Покупатель] = @Покупатель WHERE (([Код продажи] = @Original_Код_продажи) AND ((@IsNull_Дата_продажи = 1 AND [Дата продажи] IS NULL) OR ([Дата продажи] = @Original_Дата_продажи)) AND ((@IsNull_Способ_оплаты = 1 AND [Способ оплаты] IS NULL) OR ([Способ оплаты] = @Original_Способ_оплаты)) AND ((@IsNull_Сотрудник = 1 AND [Сотрудник] IS NULL) OR ([Сотрудник] = @Original_Сотрудник)) AND ((@IsNull_Заказ = 1 AND [Заказ] IS NULL) OR ([Заказ] = @Original_Заказ)) AND ((@IsNull_Артикул = 1 AND [Артикул] IS NULL) OR ([Артикул] = @Original_Артикул)) AND ((@IsNull_Покупатель = 1 AND [Покупатель] IS NULL) OR ([Покупатель] = @Original_Покупатель)));
- SELECT [Код продажи], [Дата продажи], [Способ оплаты], Сотрудник, Заказ, Артикул, Покупатель FROM Продажа WHERE ([Код продажи] = @Код_продажи)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_продажи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код продажи" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_продажи" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата продажи" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Способ_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Способ оплаты" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Заказ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Заказ" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="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_Код_продажи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код продажи" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_продажи" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата продажи" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_продажи" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата продажи" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Способ_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Способ оплаты" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Способ_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Способ оплаты" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Сотрудник" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Сотрудник" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Заказ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Заказ" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Заказ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Заказ" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="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="Код продажи" DataSetColumn="Код продажи" />
- <Mapping SourceColumn="Дата продажи" DataSetColumn="Дата продажи" />
- <Mapping SourceColumn="Способ оплаты" DataSetColumn="Способ оплаты" />
- <Mapping SourceColumn="Сотрудник" DataSetColumn="Сотрудник" />
- <Mapping SourceColumn="Заказ" DataSetColumn="Заказ" />
- <Mapping SourceColumn="Артикул" DataSetColumn="Артикул" />
- <Mapping SourceColumn="Покупатель" DataSetColumn="Покупатель" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="СотрудникиTableAdapter" GeneratorDataComponentClassName="СотрудникиTableAdapter" Name="Сотрудники" UserDataComponentName="СотрудникиTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.Сотрудники" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Сотрудники] WHERE (([Код сотрудника] = @Original_Код_сотрудника) AND ((@IsNull_Дата_рождения = 1 AND [Дата рождения] IS NULL) OR ([Дата рождения] = @Original_Дата_рождения)) AND ((@IsNull_Телефон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)) AND ((@IsNull_Город = 1 AND [Город] IS NULL) OR ([Город] = @Original_Город)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_сотрудника" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код сотрудника" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_рождения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата рождения" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_рождения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата рождения" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Город" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Город" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Сотрудники] ([Код сотрудника], [Фамилия], [Имя], [Отчество], [Дата рождения], [Телефон], [Город]) VALUES (@Код_сотрудника, @Фамилия, @Имя, @Отчество, @Дата_рождения, @Телефон, @Город);
- SELECT [Код сотрудника], Фамилия, Имя, Отчество, [Дата рождения], Телефон, Город FROM Сотрудники WHERE ([Код сотрудника] = @Код_сотрудника)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_сотрудника" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фамилия" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Отчество" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_рождения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата рождения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Город" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код сотрудника], Фамилия, Имя, Отчество, [Дата рождения], Телефон, Город FROM dbo.Сотрудники</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Сотрудники] SET [Код сотрудника] = @Код_сотрудника, [Фамилия] = @Фамилия, [Имя] = @Имя, [Отчество] = @Отчество, [Дата рождения] = @Дата_рождения, [Телефон] = @Телефон, [Город] = @Город WHERE (([Код сотрудника] = @Original_Код_сотрудника) AND ((@IsNull_Дата_рождения = 1 AND [Дата рождения] IS NULL) OR ([Дата рождения] = @Original_Дата_рождения)) AND ((@IsNull_Телефон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)) AND ((@IsNull_Город = 1 AND [Город] IS NULL) OR ([Город] = @Original_Город)));
- SELECT [Код сотрудника], Фамилия, Имя, Отчество, [Дата рождения], Телефон, Город FROM Сотрудники WHERE ([Код сотрудника] = @Код_сотрудника)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_сотрудника" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фамилия" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Отчество" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_рождения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата рождения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Город" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_сотрудника" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код сотрудника" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_рождения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата рождения" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_рождения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата рождения" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="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="Код сотрудника" DataSetColumn="Код сотрудника" />
- <Mapping SourceColumn="Фамилия" DataSetColumn="Фамилия" />
- <Mapping SourceColumn="Имя" DataSetColumn="Имя" />
- <Mapping SourceColumn="Отчество" DataSetColumn="Отчество" />
- <Mapping SourceColumn="Дата рождения" DataSetColumn="Дата рождения" />
- <Mapping SourceColumn="Телефон" DataSetColumn="Телефон" />
- <Mapping SourceColumn="Город" DataSetColumn="Город" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Способы оплатыTableAdapter" GeneratorDataComponentClassName="Способы_оплатыTableAdapter" Name="Способы оплаты" UserDataComponentName="Способы оплатыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.[Способы оплаты]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Способы оплаты] WHERE (([Код способа оплаты] = @Original_Код_способа_оплаты))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_способа_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код способа оплаты" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Способы оплаты] ([Код способа оплаты], [Название]) VALUES (@Код_способа_оплаты, @Название);
- SELECT [Код способа оплаты], Название FROM [Способы оплаты] WHERE ([Код способа оплаты] = @Код_способа_оплаты)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_способа_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код способа оплаты" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код способа оплаты], Название FROM dbo.[Способы оплаты]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Способы оплаты] SET [Код способа оплаты] = @Код_способа_оплаты, [Название] = @Название WHERE (([Код способа оплаты] = @Original_Код_способа_оплаты));
- SELECT [Код способа оплаты], Название FROM [Способы оплаты] WHERE ([Код способа оплаты] = @Код_способа_оплаты)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_способа_оплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код способа оплаты" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" 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="Код способа оплаты" DataSetColumn="Код способа оплаты" />
- <Mapping SourceColumn="Название" DataSetColumn="Название" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Статусы заказовTableAdapter" GeneratorDataComponentClassName="Статусы_заказовTableAdapter" Name="Статусы заказов" UserDataComponentName="Статусы заказовTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.[Статусы заказов]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Статусы заказов] WHERE (([Код статуса] = @Original_Код_статуса))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_статуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код статуса" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Статусы заказов] ([Код статуса], [Название статуса]) VALUES (@Код_статуса, @Название_статуса);
- SELECT [Код статуса], [Название статуса] FROM [Статусы заказов] WHERE ([Код статуса] = @Код_статуса)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_статуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код статуса" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название_статуса" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название статуса" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код статуса], [Название статуса] FROM dbo.[Статусы заказов]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Статусы заказов] SET [Код статуса] = @Код_статуса, [Название статуса] = @Название_статуса WHERE (([Код статуса] = @Original_Код_статуса));
- SELECT [Код статуса], [Название статуса] FROM [Статусы заказов] WHERE ([Код статуса] = @Код_статуса)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_статуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код статуса" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название_статуса" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название статуса" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" 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="Код статуса" DataSetColumn="Код статуса" />
- <Mapping SourceColumn="Название статуса" DataSetColumn="Название статуса" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Страна производителяTableAdapter" GeneratorDataComponentClassName="Страна_производителяTableAdapter" Name="Страна производителя" UserDataComponentName="Страна производителяTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.[Страна производителя]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Страна производителя] WHERE (([Код страны] = @Original_Код_страны))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_страны" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код страны" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Страна производителя] ([Код страны], [Название]) VALUES (@Код_страны, @Название);
- SELECT [Код страны], Название FROM [Страна производителя] WHERE ([Код страны] = @Код_страны)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_страны" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код страны" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код страны], Название FROM dbo.[Страна производителя]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Страна производителя] SET [Код страны] = @Код_страны, [Название] = @Название WHERE (([Код страны] = @Original_Код_страны));
- SELECT [Код страны], Название FROM [Страна производителя] WHERE ([Код страны] = @Код_страны)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_страны" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код страны" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" 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="Код страны" DataSetColumn="Код страны" />
- <Mapping SourceColumn="Название" DataSetColumn="Название" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ТоварыTableAdapter" GeneratorDataComponentClassName="ТоварыTableAdapter" Name="Товары" UserDataComponentName="ТоварыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.Товары" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Товары] WHERE (([Артикул] = @Original_Артикул) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Дата_изгоовления = 1 AND [Дата изгоовления] IS NULL) OR ([Дата изгоовления] = @Original_Дата_изгоовления)) AND ((@IsNull_Срок_годности = 1 AND [Срок годности] IS NULL) OR ([Срок годности] = @Original_Срок_годности)) AND ((@IsNull_Фирма = 1 AND [Фирма] IS NULL) OR ([Фирма] = @Original_Фирма)) AND ((@IsNull_Категория = 1 AND [Категория] IS NULL) OR ([Категория] = @Original_Категория)) AND ((@IsNull_Единица_измерения = 1 AND [Единица измерения] IS NULL) OR ([Единица измерения] = @Original_Единица_измерения)) AND ((@IsNull_Страна_производитель = 1 AND [Страна производитель] IS NULL) OR ([Страна производитель] = @Original_Страна_производитель)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_изгоовления" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата изгоовления" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_изгоовления" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата изгоовления" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Срок_годности" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Срок годности" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Срок_годности" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Срок годности" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Категория" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Категория" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Категория" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Категория" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица измерения" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица измерения" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Страна_производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Страна_производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Товары] ([Артикул], [Наименование], [Цена], [Дата изгоовления], [Срок годности], [Фирма], [Категория], [Единица измерения], [Страна производитель]) VALUES (@Артикул, @Наименование, @Цена, @Дата_изгоовления, @Срок_годности, @Фирма, @Категория, @Единица_измерения, @Страна_производитель);
- SELECT Артикул, Наименование, Цена, [Дата изгоовления], [Срок годности], Фирма, Категория, [Единица измерения], [Страна производитель] FROM Товары WHERE (Артикул = @Артикул)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_изгоовления" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата изгоовления" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Срок_годности" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Срок годности" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Категория" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Категория" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Страна_производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT Артикул, Наименование, Цена, [Дата изгоовления], [Срок годности], Фирма, Категория, [Единица измерения], [Страна производитель] FROM dbo.Товары</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Товары] SET [Артикул] = @Артикул, [Наименование] = @Наименование, [Цена] = @Цена, [Дата изгоовления] = @Дата_изгоовления, [Срок годности] = @Срок_годности, [Фирма] = @Фирма, [Категория] = @Категория, [Единица измерения] = @Единица_измерения, [Страна производитель] = @Страна_производитель WHERE (([Артикул] = @Original_Артикул) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Дата_изгоовления = 1 AND [Дата изгоовления] IS NULL) OR ([Дата изгоовления] = @Original_Дата_изгоовления)) AND ((@IsNull_Срок_годности = 1 AND [Срок годности] IS NULL) OR ([Срок годности] = @Original_Срок_годности)) AND ((@IsNull_Фирма = 1 AND [Фирма] IS NULL) OR ([Фирма] = @Original_Фирма)) AND ((@IsNull_Категория = 1 AND [Категория] IS NULL) OR ([Категория] = @Original_Категория)) AND ((@IsNull_Единица_измерения = 1 AND [Единица измерения] IS NULL) OR ([Единица измерения] = @Original_Единица_измерения)) AND ((@IsNull_Страна_производитель = 1 AND [Страна производитель] IS NULL) OR ([Страна производитель] = @Original_Страна_производитель)));
- SELECT Артикул, Наименование, Цена, [Дата изгоовления], [Срок годности], Фирма, Категория, [Единица измерения], [Страна производитель] FROM Товары WHERE (Артикул = @Артикул)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_изгоовления" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата изгоовления" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Срок_годности" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Срок годности" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Категория" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Категория" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Страна_производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Артикул" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Артикул" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_изгоовления" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата изгоовления" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_изгоовления" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата изгоовления" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Срок_годности" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Срок годности" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Срок_годности" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Срок годности" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Категория" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Категория" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Категория" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Категория" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица измерения" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица измерения" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="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="Артикул" DataSetColumn="Артикул" />
- <Mapping SourceColumn="Наименование" DataSetColumn="Наименование" />
- <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
- <Mapping SourceColumn="Дата изгоовления" DataSetColumn="Дата изгоовления" />
- <Mapping SourceColumn="Срок годности" DataSetColumn="Срок годности" />
- <Mapping SourceColumn="Фирма" DataSetColumn="Фирма" />
- <Mapping SourceColumn="Категория" DataSetColumn="Категория" />
- <Mapping SourceColumn="Единица измерения" DataSetColumn="Единица измерения" />
- <Mapping SourceColumn="Страна производитель" DataSetColumn="Страна производитель" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ФирмыTableAdapter" GeneratorDataComponentClassName="ФирмыTableAdapter" Name="Фирмы" UserDataComponentName="ФирмыTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.Фирмы" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Фирмы] WHERE (([Код фирмы] = @Original_Код_фирмы))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_фирмы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код фирмы" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Фирмы] ([Код фирмы], [Название]) VALUES (@Код_фирмы, @Название);
- SELECT [Код фирмы], Название FROM Фирмы WHERE ([Код фирмы] = @Код_фирмы)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_фирмы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код фирмы" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код фирмы], Название FROM dbo.Фирмы</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Фирмы] SET [Код фирмы] = @Код_фирмы, [Название] = @Название WHERE (([Код фирмы] = @Original_Код_фирмы));
- SELECT [Код фирмы], Название FROM Фирмы WHERE ([Код фирмы] = @Код_фирмы)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_фирмы" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код фирмы" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" 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="Код фирмы" DataSetColumn="Код фирмы" />
- <Mapping SourceColumn="Название" DataSetColumn="Название" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Цена товаровTableAdapter" GeneratorDataComponentClassName="Цена_товаровTableAdapter" Name="Цена товаров" UserDataComponentName="Цена товаровTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.[Цена товаров]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Цена товаров] WHERE (([Код цены] = @Original_Код_цены) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Дата = 1 AND [Дата] IS NULL) OR ([Дата] = @Original_Дата)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_цены" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код цены" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Цена товаров] ([Код цены], [Цена], [Дата], [Наименование]) VALUES (@Код_цены, @Цена, @Дата, @Наименование);
- SELECT [Код цены], Цена, Дата, Наименование FROM [Цена товаров] WHERE ([Код цены] = @Код_цены)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_цены" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код цены" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Код цены], Цена, Дата, Наименование FROM dbo.[Цена товаров]</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Цена товаров] SET [Код цены] = @Код_цены, [Цена] = @Цена, [Дата] = @Дата, [Наименование] = @Наименование WHERE (([Код цены] = @Original_Код_цены) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)) AND ((@IsNull_Дата = 1 AND [Дата] IS NULL) OR ([Дата] = @Original_Дата)));
- SELECT [Код цены], Цена, Дата, Наименование FROM [Цена товаров] WHERE ([Код цены] = @Код_цены)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Код_цены" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код цены" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Код_цены" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Код цены" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Код цены" DataSetColumn="Код цены" />
- <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
- <Mapping SourceColumn="Дата" DataSetColumn="Дата" />
- <Mapping SourceColumn="Наименование" DataSetColumn="Наименование" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="View_1TableAdapter" GeneratorDataComponentClassName="View_1TableAdapter" Name="View_1" UserDataComponentName="View_1TableAdapter">
- <MainSource>
- <DbSource ConnectionRef="OOOTORG_LebedenkoConnectionString (Settings)" DbObjectName="OOOTORG_Lebedenko.dbo.View_1" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT [Дата продажи], [Код покупателя], Артикул, Наименование, Фамилия, Цена, [Количество товара], [Статус заказа] FROM View_1</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Дата продажи" DataSetColumn="Дата продажи" />
- <Mapping SourceColumn="Код покупателя" DataSetColumn="Код покупателя" />
- <Mapping SourceColumn="Артикул" DataSetColumn="Артикул" />
- <Mapping SourceColumn="Наименование" DataSetColumn="Наименование" />
- <Mapping SourceColumn="Фамилия" DataSetColumn="Фамилия" />
- <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
- <Mapping SourceColumn="Количество товара" DataSetColumn="Количество товара" />
- <Mapping SourceColumn="Статус заказа" DataSetColumn="Статус заказа" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="OOOTORG_LebedenkoDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="OOOTORG_LebedenkoDataSet" msprop:Generator_UserDSName="OOOTORG_LebedenkoDataSet">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="DataLogin" msprop:Generator_TableClassName="DataLoginDataTable" msprop:Generator_TableVarName="tableDataLogin" msprop:Generator_RowChangedName="DataLoginRowChanged" msprop:Generator_TablePropName="DataLogin" msprop:Generator_RowDeletingName="DataLoginRowDeleting" msprop:Generator_RowChangingName="DataLoginRowChanging" msprop:Generator_RowEvHandlerName="DataLoginRowChangeEventHandler" msprop:Generator_RowDeletedName="DataLoginRowDeleted" msprop:Generator_RowClassName="DataLoginRow" msprop:Generator_UserTableName="DataLogin" msprop:Generator_RowEvArgName="DataLoginRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Login" msprop:Generator_ColumnVarNameInTable="columnLogin" msprop:Generator_ColumnPropNameInRow="Login" msprop:Generator_ColumnPropNameInTable="LoginColumn" msprop:Generator_UserColumnName="Login">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Города" msprop:Generator_TableClassName="ГородаDataTable" msprop:Generator_TableVarName="tableГорода" msprop:Generator_RowChangedName="ГородаRowChanged" msprop:Generator_TablePropName="Города" msprop:Generator_RowDeletingName="ГородаRowDeleting" msprop:Generator_RowChangingName="ГородаRowChanging" msprop:Generator_RowEvHandlerName="ГородаRowChangeEventHandler" msprop:Generator_RowDeletedName="ГородаRowDeleted" msprop:Generator_RowClassName="ГородаRow" msprop:Generator_UserTableName="Города" msprop:Generator_RowEvArgName="ГородаRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_города" msprop:Generator_ColumnVarNameInTable="columnКод_города" msprop:Generator_ColumnPropNameInRow="Код_города" msprop:Generator_ColumnPropNameInTable="Код_городаColumn" msprop:Generator_UserColumnName="Код города" type="xs:int" />
- <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Единицы_x0020_измерения" msprop:Generator_TableClassName="Единицы_измеренияDataTable" msprop:Generator_TableVarName="tableЕдиницы_измерения" msprop:Generator_RowChangedName="Единицы_измеренияRowChanged" msprop:Generator_TablePropName="Единицы_измерения" msprop:Generator_RowDeletingName="Единицы_измеренияRowDeleting" msprop:Generator_RowChangingName="Единицы_измеренияRowChanging" msprop:Generator_RowEvHandlerName="Единицы_измеренияRowChangeEventHandler" msprop:Generator_RowDeletedName="Единицы_измеренияRowDeleted" msprop:Generator_RowClassName="Единицы_измеренияRow" msprop:Generator_UserTableName="Единицы измерения" msprop:Generator_RowEvArgName="Единицы_измеренияRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_единицы_x0020_измерения" msprop:Generator_ColumnVarNameInTable="columnКод_единицы_измерения" msprop:Generator_ColumnPropNameInRow="Код_единицы_измерения" msprop:Generator_ColumnPropNameInTable="Код_единицы_измеренияColumn" msprop:Generator_UserColumnName="Код единицы измерения" type="xs:int" />
- <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Заказы" msprop:Generator_TableClassName="ЗаказыDataTable" msprop:Generator_TableVarName="tableЗаказы" msprop:Generator_RowChangedName="ЗаказыRowChanged" msprop:Generator_TablePropName="Заказы" msprop:Generator_RowDeletingName="ЗаказыRowDeleting" msprop:Generator_RowChangingName="ЗаказыRowChanging" msprop:Generator_RowEvHandlerName="ЗаказыRowChangeEventHandler" msprop:Generator_RowDeletedName="ЗаказыRowDeleted" msprop:Generator_RowClassName="ЗаказыRow" msprop:Generator_UserTableName="Заказы" msprop:Generator_RowEvArgName="ЗаказыRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnКод_заказа" msprop:Generator_ColumnPropNameInRow="Код_заказа" msprop:Generator_ColumnPropNameInTable="Код_заказаColumn" msprop:Generator_UserColumnName="Код заказа" type="xs:int" />
- <xs:element name="Клиент" msprop:Generator_ColumnVarNameInTable="columnКлиент" msprop:Generator_ColumnPropNameInRow="Клиент" msprop:Generator_ColumnPropNameInTable="КлиентColumn" msprop:Generator_UserColumnName="Клиент" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Количество_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnКоличество_товара" msprop:Generator_ColumnPropNameInRow="Количество_товара" msprop:Generator_ColumnPropNameInTable="Количество_товараColumn" msprop:Generator_UserColumnName="Количество товара" type="xs:int" minOccurs="0" />
- <xs:element name="Товар" msprop:Generator_ColumnVarNameInTable="columnТовар" msprop:Generator_ColumnPropNameInRow="Товар" msprop:Generator_ColumnPropNameInTable="ТоварColumn" msprop:Generator_UserColumnName="Товар" type="xs:int" minOccurs="0" />
- <xs:element name="Статус_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnСтатус_заказа" msprop:Generator_ColumnPropNameInRow="Статус_заказа" msprop:Generator_ColumnPropNameInTable="Статус_заказаColumn" msprop:Generator_UserColumnName="Статус заказа" type="xs:int" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Категория" msprop:Generator_TableClassName="КатегорияDataTable" msprop:Generator_TableVarName="tableКатегория" msprop:Generator_RowChangedName="КатегорияRowChanged" msprop:Generator_TablePropName="Категория" msprop:Generator_RowDeletingName="КатегорияRowDeleting" msprop:Generator_RowChangingName="КатегорияRowChanging" msprop:Generator_RowEvHandlerName="КатегорияRowChangeEventHandler" msprop:Generator_RowDeletedName="КатегорияRowDeleted" msprop:Generator_RowClassName="КатегорияRow" msprop:Generator_UserTableName="Категория" msprop:Generator_RowEvArgName="КатегорияRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_категории" msprop:Generator_ColumnVarNameInTable="columnКод_категории" msprop:Generator_ColumnPropNameInRow="Код_категории" msprop:Generator_ColumnPropNameInTable="Код_категорииColumn" msprop:Generator_UserColumnName="Код категории" type="xs:int" />
- <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Клиенты" msprop:Generator_TableClassName="КлиентыDataTable" msprop:Generator_TableVarName="tableКлиенты" msprop:Generator_RowChangedName="КлиентыRowChanged" msprop:Generator_TablePropName="Клиенты" msprop:Generator_RowDeletingName="КлиентыRowDeleting" msprop:Generator_RowChangingName="КлиентыRowChanging" msprop:Generator_RowEvHandlerName="КлиентыRowChangeEventHandler" msprop:Generator_RowDeletedName="КлиентыRowDeleted" msprop:Generator_RowClassName="КлиентыRow" msprop:Generator_UserTableName="Клиенты" msprop:Generator_RowEvArgName="КлиентыRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_покупателя" msprop:Generator_ColumnVarNameInTable="columnКод_покупателя" msprop:Generator_ColumnPropNameInRow="Код_покупателя" msprop:Generator_ColumnPropNameInTable="Код_покупателяColumn" msprop:Generator_UserColumnName="Код покупателя" type="xs:int" />
- <xs:element name="ФИО" msprop:Generator_ColumnVarNameInTable="columnФИО" msprop:Generator_ColumnPropNameInRow="ФИО" msprop:Generator_ColumnPropNameInTable="ФИОColumn" msprop:Generator_UserColumnName="ФИО" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Телефон" msprop:Generator_ColumnVarNameInTable="columnТелефон" msprop:Generator_ColumnPropNameInRow="Телефон" msprop:Generator_ColumnPropNameInTable="ТелефонColumn" msprop:Generator_UserColumnName="Телефон" type="xs:int" minOccurs="0" />
- <xs:element name="Электронная_x0020_почта" msprop:Generator_ColumnVarNameInTable="columnЭлектронная_почта" msprop:Generator_ColumnPropNameInRow="Электронная_почта" msprop:Generator_ColumnPropNameInTable="Электронная_почтаColumn" msprop:Generator_UserColumnName="Электронная почта" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Продажа" msprop:Generator_TableClassName="ПродажаDataTable" msprop:Generator_TableVarName="tableПродажа" msprop:Generator_RowChangedName="ПродажаRowChanged" msprop:Generator_TablePropName="Продажа" msprop:Generator_RowDeletingName="ПродажаRowDeleting" msprop:Generator_RowChangingName="ПродажаRowChanging" msprop:Generator_RowEvHandlerName="ПродажаRowChangeEventHandler" msprop:Generator_RowDeletedName="ПродажаRowDeleted" msprop:Generator_RowClassName="ПродажаRow" msprop:Generator_UserTableName="Продажа" msprop:Generator_RowEvArgName="ПродажаRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_продажи" msprop:Generator_ColumnVarNameInTable="columnКод_продажи" msprop:Generator_ColumnPropNameInRow="Код_продажи" msprop:Generator_ColumnPropNameInTable="Код_продажиColumn" msprop:Generator_UserColumnName="Код продажи" type="xs:int" />
- <xs:element name="Дата_x0020_продажи" msprop:Generator_ColumnVarNameInTable="columnДата_продажи" msprop:Generator_ColumnPropNameInRow="Дата_продажи" msprop:Generator_ColumnPropNameInTable="Дата_продажиColumn" msprop:Generator_UserColumnName="Дата продажи" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Способ_x0020_оплаты" msprop:Generator_ColumnVarNameInTable="columnСпособ_оплаты" msprop:Generator_ColumnPropNameInRow="Способ_оплаты" msprop:Generator_ColumnPropNameInTable="Способ_оплатыColumn" msprop:Generator_UserColumnName="Способ оплаты" type="xs:int" minOccurs="0" />
- <xs:element name="Сотрудник" msprop:Generator_ColumnVarNameInTable="columnСотрудник" msprop:Generator_ColumnPropNameInRow="Сотрудник" msprop:Generator_ColumnPropNameInTable="СотрудникColumn" msprop:Generator_UserColumnName="Сотрудник" type="xs:int" minOccurs="0" />
- <xs:element name="Заказ" msprop:Generator_ColumnVarNameInTable="columnЗаказ" msprop:Generator_ColumnPropNameInRow="Заказ" msprop:Generator_ColumnPropNameInTable="ЗаказColumn" msprop:Generator_UserColumnName="Заказ" type="xs:int" minOccurs="0" />
- <xs:element name="Артикул" msprop:Generator_ColumnVarNameInTable="columnАртикул" msprop:Generator_ColumnPropNameInRow="Артикул" msprop:Generator_ColumnPropNameInTable="АртикулColumn" msprop:Generator_UserColumnName="Артикул" type="xs:int" minOccurs="0" />
- <xs:element name="Покупатель" msprop:Generator_ColumnVarNameInTable="columnПокупатель" msprop:Generator_ColumnPropNameInRow="Покупатель" msprop:Generator_ColumnPropNameInTable="ПокупательColumn" msprop:Generator_UserColumnName="Покупатель" type="xs:int" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Сотрудники" msprop:Generator_TableClassName="СотрудникиDataTable" msprop:Generator_TableVarName="tableСотрудники" msprop:Generator_RowChangedName="СотрудникиRowChanged" msprop:Generator_TablePropName="Сотрудники" msprop:Generator_RowDeletingName="СотрудникиRowDeleting" msprop:Generator_RowChangingName="СотрудникиRowChanging" msprop:Generator_RowEvHandlerName="СотрудникиRowChangeEventHandler" msprop:Generator_RowDeletedName="СотрудникиRowDeleted" msprop:Generator_RowClassName="СотрудникиRow" msprop:Generator_UserTableName="Сотрудники" msprop:Generator_RowEvArgName="СотрудникиRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_сотрудника" msprop:Generator_ColumnVarNameInTable="columnКод_сотрудника" msprop:Generator_ColumnPropNameInRow="Код_сотрудника" msprop:Generator_ColumnPropNameInTable="Код_сотрудникаColumn" msprop:Generator_UserColumnName="Код сотрудника" type="xs:int" />
- <xs:element name="Фамилия" msprop:Generator_ColumnVarNameInTable="columnФамилия" msprop:Generator_ColumnPropNameInRow="Фамилия" msprop:Generator_ColumnPropNameInTable="ФамилияColumn" msprop:Generator_UserColumnName="Фамилия" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Имя" msprop:Generator_ColumnVarNameInTable="columnИмя" msprop:Generator_ColumnPropNameInRow="Имя" msprop:Generator_ColumnPropNameInTable="ИмяColumn" msprop:Generator_UserColumnName="Имя" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Отчество" msprop:Generator_ColumnVarNameInTable="columnОтчество" msprop:Generator_ColumnPropNameInRow="Отчество" msprop:Generator_ColumnPropNameInTable="ОтчествоColumn" msprop:Generator_UserColumnName="Отчество" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Дата_x0020_рождения" msprop:Generator_ColumnVarNameInTable="columnДата_рождения" msprop:Generator_ColumnPropNameInRow="Дата_рождения" msprop:Generator_ColumnPropNameInTable="Дата_рожденияColumn" msprop:Generator_UserColumnName="Дата рождения" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Телефон" msprop:Generator_ColumnVarNameInTable="columnТелефон" msprop:Generator_ColumnPropNameInRow="Телефон" msprop:Generator_ColumnPropNameInTable="ТелефонColumn" msprop:Generator_UserColumnName="Телефон" type="xs:int" minOccurs="0" />
- <xs:element name="Город" msprop:Generator_ColumnVarNameInTable="columnГород" msprop:Generator_ColumnPropNameInRow="Город" msprop:Generator_ColumnPropNameInTable="ГородColumn" msprop:Generator_UserColumnName="Город" type="xs:int" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Способы_x0020_оплаты" msprop:Generator_TableClassName="Способы_оплатыDataTable" msprop:Generator_TableVarName="tableСпособы_оплаты" msprop:Generator_RowChangedName="Способы_оплатыRowChanged" msprop:Generator_TablePropName="Способы_оплаты" msprop:Generator_RowDeletingName="Способы_оплатыRowDeleting" msprop:Generator_RowChangingName="Способы_оплатыRowChanging" msprop:Generator_RowEvHandlerName="Способы_оплатыRowChangeEventHandler" msprop:Generator_RowDeletedName="Способы_оплатыRowDeleted" msprop:Generator_RowClassName="Способы_оплатыRow" msprop:Generator_UserTableName="Способы оплаты" msprop:Generator_RowEvArgName="Способы_оплатыRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_способа_x0020_оплаты" msprop:Generator_ColumnVarNameInTable="columnКод_способа_оплаты" msprop:Generator_ColumnPropNameInRow="Код_способа_оплаты" msprop:Generator_ColumnPropNameInTable="Код_способа_оплатыColumn" msprop:Generator_UserColumnName="Код способа оплаты" type="xs:int" />
- <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Статусы_x0020_заказов" msprop:Generator_TableClassName="Статусы_заказовDataTable" msprop:Generator_TableVarName="tableСтатусы_заказов" msprop:Generator_RowChangedName="Статусы_заказовRowChanged" msprop:Generator_TablePropName="Статусы_заказов" msprop:Generator_RowDeletingName="Статусы_заказовRowDeleting" msprop:Generator_RowChangingName="Статусы_заказовRowChanging" msprop:Generator_RowEvHandlerName="Статусы_заказовRowChangeEventHandler" msprop:Generator_RowDeletedName="Статусы_заказовRowDeleted" msprop:Generator_RowClassName="Статусы_заказовRow" msprop:Generator_UserTableName="Статусы заказов" msprop:Generator_RowEvArgName="Статусы_заказовRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_статуса" msprop:Generator_ColumnVarNameInTable="columnКод_статуса" msprop:Generator_ColumnPropNameInRow="Код_статуса" msprop:Generator_ColumnPropNameInTable="Код_статусаColumn" msprop:Generator_UserColumnName="Код статуса" type="xs:int" />
- <xs:element name="Название_x0020_статуса" msprop:Generator_ColumnVarNameInTable="columnНазвание_статуса" msprop:Generator_ColumnPropNameInRow="Название_статуса" msprop:Generator_ColumnPropNameInTable="Название_статусаColumn" msprop:Generator_UserColumnName="Название статуса" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Страна_x0020_производителя" msprop:Generator_TableClassName="Страна_производителяDataTable" msprop:Generator_TableVarName="tableСтрана_производителя" msprop:Generator_RowChangedName="Страна_производителяRowChanged" msprop:Generator_TablePropName="Страна_производителя" msprop:Generator_RowDeletingName="Страна_производителяRowDeleting" msprop:Generator_RowChangingName="Страна_производителяRowChanging" msprop:Generator_RowEvHandlerName="Страна_производителяRowChangeEventHandler" msprop:Generator_RowDeletedName="Страна_производителяRowDeleted" msprop:Generator_RowClassName="Страна_производителяRow" msprop:Generator_UserTableName="Страна производителя" msprop:Generator_RowEvArgName="Страна_производителяRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_страны" msprop:Generator_ColumnVarNameInTable="columnКод_страны" msprop:Generator_ColumnPropNameInRow="Код_страны" msprop:Generator_ColumnPropNameInTable="Код_страныColumn" msprop:Generator_UserColumnName="Код страны" type="xs:int" />
- <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Товары" msprop:Generator_TableClassName="ТоварыDataTable" msprop:Generator_TableVarName="tableТовары" msprop:Generator_RowChangedName="ТоварыRowChanged" msprop:Generator_TablePropName="Товары" msprop:Generator_RowDeletingName="ТоварыRowDeleting" msprop:Generator_RowChangingName="ТоварыRowChanging" msprop:Generator_RowEvHandlerName="ТоварыRowChangeEventHandler" msprop:Generator_RowDeletedName="ТоварыRowDeleted" msprop:Generator_RowClassName="ТоварыRow" msprop:Generator_UserTableName="Товары" msprop:Generator_RowEvArgName="ТоварыRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Артикул" msprop:Generator_ColumnVarNameInTable="columnАртикул" msprop:Generator_ColumnPropNameInRow="Артикул" msprop:Generator_ColumnPropNameInTable="АртикулColumn" msprop:Generator_UserColumnName="Артикул" type="xs:int" />
- <xs:element name="Наименование" msprop:Generator_ColumnVarNameInTable="columnНаименование" msprop:Generator_ColumnPropNameInRow="Наименование" msprop:Generator_ColumnPropNameInTable="НаименованиеColumn" msprop:Generator_UserColumnName="Наименование" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:int" minOccurs="0" />
- <xs:element name="Дата_x0020_изгоовления" msprop:Generator_ColumnVarNameInTable="columnДата_изгоовления" msprop:Generator_ColumnPropNameInRow="Дата_изгоовления" msprop:Generator_ColumnPropNameInTable="Дата_изгоовленияColumn" msprop:Generator_UserColumnName="Дата изгоовления" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Срок_x0020_годности" msprop:Generator_ColumnVarNameInTable="columnСрок_годности" msprop:Generator_ColumnPropNameInRow="Срок_годности" msprop:Generator_ColumnPropNameInTable="Срок_годностиColumn" msprop:Generator_UserColumnName="Срок годности" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Фирма" msprop:Generator_ColumnVarNameInTable="columnФирма" msprop:Generator_ColumnPropNameInRow="Фирма" msprop:Generator_ColumnPropNameInTable="ФирмаColumn" msprop:Generator_UserColumnName="Фирма" type="xs:int" minOccurs="0" />
- <xs:element name="Категория" msprop:Generator_ColumnVarNameInTable="columnКатегория" msprop:Generator_ColumnPropNameInRow="Категория" msprop:Generator_ColumnPropNameInTable="КатегорияColumn" msprop:Generator_UserColumnName="Категория" type="xs:int" minOccurs="0" />
- <xs:element name="Единица_x0020_измерения" msprop:Generator_ColumnVarNameInTable="columnЕдиница_измерения" msprop:Generator_ColumnPropNameInRow="Единица_измерения" msprop:Generator_ColumnPropNameInTable="Единица_измеренияColumn" msprop:Generator_UserColumnName="Единица измерения" type="xs:int" minOccurs="0" />
- <xs:element name="Страна_x0020_производитель" msprop:Generator_ColumnVarNameInTable="columnСтрана_производитель" msprop:Generator_ColumnPropNameInRow="Страна_производитель" msprop:Generator_ColumnPropNameInTable="Страна_производительColumn" msprop:Generator_UserColumnName="Страна производитель" type="xs:int" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Фирмы" msprop:Generator_TableClassName="ФирмыDataTable" msprop:Generator_TableVarName="tableФирмы" msprop:Generator_RowChangedName="ФирмыRowChanged" msprop:Generator_TablePropName="Фирмы" msprop:Generator_RowDeletingName="ФирмыRowDeleting" msprop:Generator_RowChangingName="ФирмыRowChanging" msprop:Generator_RowEvHandlerName="ФирмыRowChangeEventHandler" msprop:Generator_RowDeletedName="ФирмыRowDeleted" msprop:Generator_RowClassName="ФирмыRow" msprop:Generator_UserTableName="Фирмы" msprop:Generator_RowEvArgName="ФирмыRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_фирмы" msprop:Generator_ColumnVarNameInTable="columnКод_фирмы" msprop:Generator_ColumnPropNameInRow="Код_фирмы" msprop:Generator_ColumnPropNameInTable="Код_фирмыColumn" msprop:Generator_UserColumnName="Код фирмы" type="xs:int" />
- <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Цена_x0020_товаров" msprop:Generator_TableClassName="Цена_товаровDataTable" msprop:Generator_TableVarName="tableЦена_товаров" msprop:Generator_RowChangedName="Цена_товаровRowChanged" msprop:Generator_TablePropName="Цена_товаров" msprop:Generator_RowDeletingName="Цена_товаровRowDeleting" msprop:Generator_RowChangingName="Цена_товаровRowChanging" msprop:Generator_RowEvHandlerName="Цена_товаровRowChangeEventHandler" msprop:Generator_RowDeletedName="Цена_товаровRowDeleted" msprop:Generator_RowClassName="Цена_товаровRow" msprop:Generator_UserTableName="Цена товаров" msprop:Generator_RowEvArgName="Цена_товаровRowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Код_x0020_цены" msprop:Generator_ColumnVarNameInTable="columnКод_цены" msprop:Generator_ColumnPropNameInRow="Код_цены" msprop:Generator_ColumnPropNameInTable="Код_ценыColumn" msprop:Generator_UserColumnName="Код цены" type="xs:int" />
- <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:int" minOccurs="0" />
- <xs:element name="Дата" msprop:Generator_ColumnVarNameInTable="columnДата" msprop:Generator_ColumnPropNameInRow="Дата" msprop:Generator_ColumnPropNameInTable="ДатаColumn" msprop:Generator_UserColumnName="Дата" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Наименование" msprop:Generator_ColumnVarNameInTable="columnНаименование" msprop:Generator_ColumnPropNameInRow="Наименование" msprop:Generator_ColumnPropNameInTable="НаименованиеColumn" msprop:Generator_UserColumnName="Наименование" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="View_1" msprop:Generator_TableClassName="View_1DataTable" msprop:Generator_TableVarName="tableView_1" msprop:Generator_RowChangedName="View_1RowChanged" msprop:Generator_TablePropName="View_1" msprop:Generator_RowDeletingName="View_1RowDeleting" msprop:Generator_RowChangingName="View_1RowChanging" msprop:Generator_RowEvHandlerName="View_1RowChangeEventHandler" msprop:Generator_RowDeletedName="View_1RowDeleted" msprop:Generator_RowClassName="View_1Row" msprop:Generator_UserTableName="View_1" msprop:Generator_RowEvArgName="View_1RowChangeEvent">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Дата_x0020_продажи" msprop:Generator_ColumnVarNameInTable="columnДата_продажи" msprop:Generator_ColumnPropNameInRow="Дата_продажи" msprop:Generator_ColumnPropNameInTable="Дата_продажиColumn" msprop:Generator_UserColumnName="Дата продажи" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Код_x0020_покупателя" msprop:Generator_ColumnVarNameInTable="columnКод_покупателя" msprop:Generator_ColumnPropNameInRow="Код_покупателя" msprop:Generator_ColumnPropNameInTable="Код_покупателяColumn" msprop:Generator_UserColumnName="Код покупателя" type="xs:int" />
- <xs:element name="Артикул" msprop:Generator_ColumnVarNameInTable="columnАртикул" msprop:Generator_ColumnPropNameInRow="Артикул" msprop:Generator_ColumnPropNameInTable="АртикулColumn" msprop:Generator_UserColumnName="Артикул" type="xs:int" />
- <xs:element name="Наименование" msprop:Generator_ColumnVarNameInTable="columnНаименование" msprop:Generator_ColumnPropNameInRow="Наименование" msprop:Generator_ColumnPropNameInTable="НаименованиеColumn" msprop:Generator_UserColumnName="Наименование" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Фамилия" msprop:Generator_ColumnVarNameInTable="columnФамилия" msprop:Generator_ColumnPropNameInRow="Фамилия" msprop:Generator_ColumnPropNameInTable="ФамилияColumn" msprop:Generator_UserColumnName="Фамилия" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="2147483647" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:int" minOccurs="0" />
- <xs:element name="Количество_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnКоличество_товара" msprop:Generator_ColumnPropNameInRow="Количество_товара" msprop:Generator_ColumnPropNameInTable="Количество_товараColumn" msprop:Generator_UserColumnName="Количество товара" type="xs:int" minOccurs="0" />
- <xs:element name="Статус_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnСтатус_заказа" msprop:Generator_ColumnPropNameInRow="Статус_заказа" msprop:Generator_ColumnPropNameInTable="Статус_заказаColumn" msprop:Generator_UserColumnName="Статус заказа" type="xs:int" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Города" />
- <xs:field xpath="mstns:Код_x0020_города" />
- </xs:unique>
- <xs:unique name="Единицы_x0020_измерения_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Единицы_x0020_измерения" />
- <xs:field xpath="mstns:Код_x0020_единицы_x0020_измерения" />
- </xs:unique>
- <xs:unique name="Заказы_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Заказы" />
- <xs:field xpath="mstns:Код_x0020_заказа" />
- </xs:unique>
- <xs:unique name="Категория_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Категория" />
- <xs:field xpath="mstns:Код_x0020_категории" />
- </xs:unique>
- <xs:unique name="Клиенты_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Клиенты" />
- <xs:field xpath="mstns:Код_x0020_покупателя" />
- </xs:unique>
- <xs:unique name="Продажа_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Продажа" />
- <xs:field xpath="mstns:Код_x0020_продажи" />
- </xs:unique>
- <xs:unique name="Сотрудники_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Сотрудники" />
- <xs:field xpath="mstns:Код_x0020_сотрудника" />
- </xs:unique>
- <xs:unique name="Способы_x0020_оплаты_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Способы_x0020_оплаты" />
- <xs:field xpath="mstns:Код_x0020_способа_x0020_оплаты" />
- </xs:unique>
- <xs:unique name="Статусы_x0020_заказов_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Статусы_x0020_заказов" />
- <xs:field xpath="mstns:Код_x0020_статуса" />
- </xs:unique>
- <xs:unique name="Страна_x0020_производителя_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Страна_x0020_производителя" />
- <xs:field xpath="mstns:Код_x0020_страны" />
- </xs:unique>
- <xs:unique name="Товары_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Товары" />
- <xs:field xpath="mstns:Артикул" />
- </xs:unique>
- <xs:unique name="Фирмы_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Фирмы" />
- <xs:field xpath="mstns:Код_x0020_фирмы" />
- </xs:unique>
- <xs:unique name="Цена_x0020_товаров_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Цена_x0020_товаров" />
- <xs:field xpath="mstns:Код_x0020_цены" />
- </xs:unique>
- </xs:element>
- <xs:annotation>
- <xs:appinfo>
- <msdata:Relationship name="FK_Заказы_Статусы_x0020_заказов" msdata:parent="Статусы_x0020_заказов" msdata:child="Заказы" msdata:parentkey="Код_x0020_статуса" msdata:childkey="Статус_x0020_заказа" msprop:Generator_UserChildTable="Заказы" msprop:Generator_ChildPropName="GetЗаказыRows" msprop:Generator_UserRelationName="FK_Заказы_Статусы заказов" msprop:Generator_ParentPropName="Статусы_заказовRow" msprop:Generator_RelationVarName="relationFK_Заказы_Статусы_заказов" msprop:Generator_UserParentTable="Статусы заказов" />
- <msdata:Relationship name="FK_Продажа_Заказы" msdata:parent="Заказы" msdata:child="Продажа" msdata:parentkey="Код_x0020_заказа" msdata:childkey="Заказ" msprop:Generator_UserChildTable="Продажа" msprop:Generator_ChildPropName="GetПродажаRows" msprop:Generator_UserRelationName="FK_Продажа_Заказы" msprop:Generator_RelationVarName="relationFK_Продажа_Заказы" msprop:Generator_UserParentTable="Заказы" msprop:Generator_ParentPropName="ЗаказыRow" />
- <msdata:Relationship name="FK_Продажа_Клиенты" msdata:parent="Клиенты" msdata:child="Продажа" msdata:parentkey="Код_x0020_покупателя" msdata:childkey="Покупатель" msprop:Generator_UserChildTable="Продажа" msprop:Generator_ChildPropName="GetПродажаRows" msprop:Generator_UserRelationName="FK_Продажа_Клиенты" msprop:Generator_RelationVarName="relationFK_Продажа_Клиенты" msprop:Generator_UserParentTable="Клиенты" msprop:Generator_ParentPropName="КлиентыRow" />
- <msdata:Relationship name="FK_Продажа_Сотрудники" msdata:parent="Сотрудники" msdata:child="Продажа" msdata:parentkey="Код_x0020_сотрудника" msdata:childkey="Сотрудник" msprop:Generator_UserChildTable="Продажа" msprop:Generator_ChildPropName="GetПродажаRows" msprop:Generator_UserRelationName="FK_Продажа_Сотрудники" msprop:Generator_ParentPropName="СотрудникиRow" msprop:Generator_RelationVarName="relationFK_Продажа_Сотрудники" msprop:Generator_UserParentTable="Сотрудники" />
- <msdata:Relationship name="FK_Продажа_Способы_x0020_оплаты" msdata:parent="Способы_x0020_оплаты" msdata:child="Продажа" msdata:parentkey="Код_x0020_способа_x0020_оплаты" msdata:childkey="Способ_x0020_оплаты" msprop:Generator_UserChildTable="Продажа" msprop:Generator_ChildPropName="GetПродажаRows" msprop:Generator_UserRelationName="FK_Продажа_Способы оплаты" msprop:Generator_ParentPropName="Способы_оплатыRow" msprop:Generator_RelationVarName="relationFK_Продажа_Способы_оплаты" msprop:Generator_UserParentTable="Способы оплаты" />
- <msdata:Relationship name="FK_Продажа_Товары" msdata:parent="Товары" msdata:child="Продажа" msdata:parentkey="Артикул" msdata:childkey="Артикул" msprop:Generator_UserChildTable="Продажа" msprop:Generator_ChildPropName="GetПродажаRows" msprop:Generator_UserRelationName="FK_Продажа_Товары" msprop:Generator_ParentPropName="ТоварыRow" msprop:Generator_RelationVarName="relationFK_Продажа_Товары" msprop:Generator_UserParentTable="Товары" />
- <msdata:Relationship name="FK_Сотрудники_Города" msdata:parent="Города" msdata:child="Сотрудники" msdata:parentkey="Код_x0020_города" msdata:childkey="Город" msprop:Generator_UserChildTable="Сотрудники" msprop:Generator_ChildPropName="GetСотрудникиRows" msprop:Generator_UserRelationName="FK_Сотрудники_Города" msprop:Generator_RelationVarName="relationFK_Сотрудники_Города" msprop:Generator_UserParentTable="Города" msprop:Generator_ParentPropName="ГородаRow" />
- <msdata:Relationship name="FK_Товары_Единицы_x0020_измерения" msdata:parent="Единицы_x0020_измерения" msdata:child="Товары" msdata:parentkey="Код_x0020_единицы_x0020_измерения" msdata:childkey="Единица_x0020_измерения" msprop:Generator_UserChildTable="Товары" msprop:Generator_ChildPropName="GetТоварыRows" msprop:Generator_UserRelationName="FK_Товары_Единицы измерения" msprop:Generator_RelationVarName="relationFK_Товары_Единицы_измерения" msprop:Generator_UserParentTable="Единицы измерения" msprop:Generator_ParentPropName="Единицы_измеренияRow" />
- <msdata:Relationship name="FK_Товары_Категория" msdata:parent="Категория" msdata:child="Товары" msdata:parentkey="Код_x0020_категории" msdata:childkey="Категория" msprop:Generator_UserChildTable="Товары" msprop:Generator_ChildPropName="GetТоварыRows" msprop:Generator_UserRelationName="FK_Товары_Категория" msprop:Generator_RelationVarName="relationFK_Товары_Категория" msprop:Generator_UserParentTable="Категория" msprop:Generator_ParentPropName="КатегорияRow" />
- <msdata:Relationship name="FK_Товары_Страна_x0020_производителя" msdata:parent="Страна_x0020_производителя" msdata:child="Товары" msdata:parentkey="Код_x0020_страны" msdata:childkey="Страна_x0020_производитель" msprop:Generator_UserChildTable="Товары" msprop:Generator_ChildPropName="GetТоварыRows" msprop:Generator_UserRelationName="FK_Товары_Страна производителя" msprop:Generator_RelationVarName="relationFK_Товары_Страна_производителя" msprop:Generator_UserParentTable="Страна производителя" msprop:Generator_ParentPropName="Страна_производителяRow" />
- <msdata:Relationship name="FK_Товары_Фирмы" msdata:parent="Фирмы" msdata:child="Товары" msdata:parentkey="Код_x0020_фирмы" msdata:childkey="Фирма" msprop:Generator_UserChildTable="Товары" msprop:Generator_ChildPropName="GetТоварыRows" msprop:Generator_UserRelationName="FK_Товары_Фирмы" msprop:Generator_ParentPropName="ФирмыRow" msprop:Generator_RelationVarName="relationFK_Товары_Фирмы" msprop:Generator_UserParentTable="Фирмы" />
- <msdata:Relationship name="FK_Товары_Цена_x0020_товаров" msdata:parent="Цена_x0020_товаров" msdata:child="Товары" msdata:parentkey="Код_x0020_цены" msdata:childkey="Цена" msprop:Generator_UserChildTable="Товары" msprop:Generator_ChildPropName="GetТоварыRows" msprop:Generator_UserRelationName="FK_Товары_Цена товаров" msprop:Generator_ParentPropName="Цена_товаровRow" msprop:Generator_RelationVarName="relationFK_Товары_Цена_товаров" msprop:Generator_UserParentTable="Цена товаров" />
- </xs:appinfo>
- </xs:annotation>
- </xs:schema>
|