_12gkDataSet.xsd 121 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="_12gkDataSet" targetNamespace="http://tempuri.org/_12gkDataSet.xsd" xmlns:mstns="http://tempuri.org/_12gkDataSet.xsd" xmlns="http://tempuri.org/_12gkDataSet.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">
  3. <xs:annotation>
  4. <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
  5. <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
  6. <Connections>
  7. <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="_12gkConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="_12gkConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WindowsFormsApp3.Properties.Settings.GlobalReference.Default._12gkConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderTableAdapter" GeneratorDataComponentClassName="OrderTableAdapter" Name="Order" UserDataComponentName="OrderTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="_12gkConnectionString (Settings)" DbObjectName="[12gk].dbo.[Order]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  13. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>DELETE FROM [dbo].[Order] WHERE (([OrderID] = @Original_OrderID) AND ([OrderDeliveryDate] = @Original_OrderDeliveryDate))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OrderDeliveryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Original" />
  19. </Parameters>
  20. </DbCommand>
  21. </DeleteCommand>
  22. <InsertCommand>
  23. <DbCommand CommandType="Text" ModifiedByUser="false">
  24. <CommandText>INSERT INTO [dbo].[Order] ([OrderStatus], [OrderDeliveryDate], [OrderPickupPoint]) VALUES (@OrderStatus, @OrderDeliveryDate, @OrderPickupPoint);
  25. SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint FROM [Order] WHERE (OrderID = SCOPE_IDENTITY())</CommandText>
  26. <Parameters>
  27. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
  28. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDeliveryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Current" />
  29. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderPickupPoint" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderPickupPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
  30. </Parameters>
  31. </DbCommand>
  32. </InsertCommand>
  33. <SelectCommand>
  34. <DbCommand CommandType="Text" ModifiedByUser="false">
  35. <CommandText>SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint FROM dbo.[Order]</CommandText>
  36. <Parameters />
  37. </DbCommand>
  38. </SelectCommand>
  39. <UpdateCommand>
  40. <DbCommand CommandType="Text" ModifiedByUser="false">
  41. <CommandText>UPDATE [dbo].[Order] SET [OrderStatus] = @OrderStatus, [OrderDeliveryDate] = @OrderDeliveryDate, [OrderPickupPoint] = @OrderPickupPoint WHERE (([OrderID] = @Original_OrderID) AND ([OrderDeliveryDate] = @Original_OrderDeliveryDate));
  42. SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint FROM [Order] WHERE (OrderID = @OrderID)</CommandText>
  43. <Parameters>
  44. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
  45. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDeliveryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Current" />
  46. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderPickupPoint" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderPickupPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
  47. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  48. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OrderDeliveryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Original" />
  49. <Parameter AllowDbNull="false" AutogeneratedName="OrderID" ColumnName="OrderID" DataSourceName="[12gk].dbo.[Order]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
  50. </Parameters>
  51. </DbCommand>
  52. </UpdateCommand>
  53. </DbSource>
  54. </MainSource>
  55. <Mappings>
  56. <Mapping SourceColumn="OrderID" DataSetColumn="OrderID" />
  57. <Mapping SourceColumn="OrderStatus" DataSetColumn="OrderStatus" />
  58. <Mapping SourceColumn="OrderDeliveryDate" DataSetColumn="OrderDeliveryDate" />
  59. <Mapping SourceColumn="OrderPickupPoint" DataSetColumn="OrderPickupPoint" />
  60. </Mappings>
  61. <Sources />
  62. </TableAdapter>
  63. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrdersProduktsTableAdapter" GeneratorDataComponentClassName="OrdersProduktsTableAdapter" Name="OrdersProdukts" UserDataComponentName="OrdersProduktsTableAdapter">
  64. <MainSource>
  65. <DbSource ConnectionRef="_12gkConnectionString (Settings)" DbObjectName="[12gk].dbo.OrdersProdukts" 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">
  66. <DeleteCommand>
  67. <DbCommand CommandType="Text" ModifiedByUser="false">
  68. <CommandText>DELETE FROM [dbo].[OrdersProdukts] WHERE (([OrderID] = @Original_OrderID) AND ([ProductArticleNumber] = @Original_ProductArticleNumber))</CommandText>
  69. <Parameters>
  70. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  71. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  72. </Parameters>
  73. </DbCommand>
  74. </DeleteCommand>
  75. <InsertCommand>
  76. <DbCommand CommandType="Text" ModifiedByUser="false">
  77. <CommandText>INSERT INTO [dbo].[OrdersProdukts] ([ProductArticleNumber]) VALUES (@ProductArticleNumber);
  78. SELECT OrderID, ProductArticleNumber FROM OrdersProdukts WHERE (OrderID = SCOPE_IDENTITY())</CommandText>
  79. <Parameters>
  80. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  81. </Parameters>
  82. </DbCommand>
  83. </InsertCommand>
  84. <SelectCommand>
  85. <DbCommand CommandType="Text" ModifiedByUser="false">
  86. <CommandText>SELECT OrderID, ProductArticleNumber FROM dbo.OrdersProdukts</CommandText>
  87. <Parameters />
  88. </DbCommand>
  89. </SelectCommand>
  90. <UpdateCommand>
  91. <DbCommand CommandType="Text" ModifiedByUser="false">
  92. <CommandText>UPDATE [dbo].[OrdersProdukts] SET [ProductArticleNumber] = @ProductArticleNumber WHERE (([OrderID] = @Original_OrderID) AND ([ProductArticleNumber] = @Original_ProductArticleNumber));
  93. SELECT OrderID, ProductArticleNumber FROM OrdersProdukts WHERE (OrderID = @OrderID)</CommandText>
  94. <Parameters>
  95. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  96. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  97. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  98. <Parameter AllowDbNull="false" AutogeneratedName="OrderID" ColumnName="OrderID" DataSourceName="[12gk].dbo.OrdersProdukts" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
  99. </Parameters>
  100. </DbCommand>
  101. </UpdateCommand>
  102. </DbSource>
  103. </MainSource>
  104. <Mappings>
  105. <Mapping SourceColumn="OrderID" DataSetColumn="OrderID" />
  106. <Mapping SourceColumn="ProductArticleNumber" DataSetColumn="ProductArticleNumber" />
  107. </Mappings>
  108. <Sources />
  109. </TableAdapter>
  110. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProdyktTableAdapter" GeneratorDataComponentClassName="ProdyktTableAdapter" Name="Prodykt" UserDataComponentName="ProdyktTableAdapter">
  111. <MainSource>
  112. <DbSource ConnectionRef="_12gkConnectionString (Settings)" DbObjectName="[12gk].dbo.Prodykt" 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">
  113. <DeleteCommand>
  114. <DbCommand CommandType="Text" ModifiedByUser="false">
  115. <CommandText>DELETE FROM [dbo].[Prodykt] WHERE (([ArticleNumber] = @Original_ArticleNumber) AND ((@IsNull_Prais = 1 AND [Prais] IS NULL) OR ([Prais] = @Original_Prais)) 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_OrderID = 1 AND [OrderID] IS NULL) OR ([OrderID] = @Original_OrderID)))</CommandText>
  116. <Parameters>
  117. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  118. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Prais" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Prais" SourceColumnNullMapping="true" SourceVersion="Original" />
  119. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Prais" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Prais" SourceColumnNullMapping="false" SourceVersion="Original" />
  120. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="true" SourceVersion="Original" />
  121. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Original" />
  122. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Размер_макс_скидки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Размер_макс_скидки" SourceColumnNullMapping="true" SourceVersion="Original" />
  123. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Размер_макс_скидки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Размер_макс_скидки" SourceColumnNullMapping="false" SourceVersion="Original" />
  124. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Поставщик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="true" SourceVersion="Original" />
  125. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Original" />
  126. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Действующая_Скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Действующая_Скидка" SourceColumnNullMapping="true" SourceVersion="Original" />
  127. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Действующая_Скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Действующая_Скидка" SourceColumnNullMapping="false" SourceVersion="Original" />
  128. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество_на_складе" SourceColumnNullMapping="true" SourceVersion="Original" />
  129. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество_на_складе" SourceColumnNullMapping="false" SourceVersion="Original" />
  130. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="true" SourceVersion="Original" />
  131. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  132. </Parameters>
  133. </DbCommand>
  134. </DeleteCommand>
  135. <InsertCommand>
  136. <DbCommand CommandType="Text" ModifiedByUser="false">
  137. <CommandText>INSERT INTO [dbo].[Prodykt] ([ArticleNumber], [Name], [Description], [Category], [Photo], [Manufacturer], [Prais], [Единица_измерения], [Размер_макс_скидки], [Поставщик], [Действующая_Скидка], [Количество_на_складе], [Ctatys], [OrderID]) VALUES (@ArticleNumber, @Name, @Description, @Category, @Photo, @Manufacturer, @Prais, @Единица_измерения, @Размер_макс_скидки, @Поставщик, @Действующая_Скидка, @Количество_на_складе, @Ctatys, @OrderID);
  138. SELECT ArticleNumber, Name, Description, Category, Photo, Manufacturer, Prais, Единица_измерения, Размер_макс_скидки, Поставщик, Действующая_Скидка, Количество_на_складе, Ctatys, OrderID FROM Prodykt WHERE (ArticleNumber = @ArticleNumber)</CommandText>
  139. <Parameters>
  140. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  141. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  142. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
  143. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Category" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
  144. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  145. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Manufacturer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Manufacturer" SourceColumnNullMapping="false" SourceVersion="Current" />
  146. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Prais" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Prais" SourceColumnNullMapping="false" SourceVersion="Current" />
  147. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
  148. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Размер_макс_скидки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Размер_макс_скидки" SourceColumnNullMapping="false" SourceVersion="Current" />
  149. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Current" />
  150. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Действующая_Скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Действующая_Скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
  151. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество_на_складе" SourceColumnNullMapping="false" SourceVersion="Current" />
  152. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ctatys" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ctatys" SourceColumnNullMapping="false" SourceVersion="Current" />
  153. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
  154. </Parameters>
  155. </DbCommand>
  156. </InsertCommand>
  157. <SelectCommand>
  158. <DbCommand CommandType="Text" ModifiedByUser="false">
  159. <CommandText>SELECT ArticleNumber, Name, Description, Category, Photo, Manufacturer, Prais, Единица_измерения, Размер_макс_скидки, Поставщик, Действующая_Скидка, Количество_на_складе, Ctatys, OrderID FROM dbo.Prodykt</CommandText>
  160. <Parameters />
  161. </DbCommand>
  162. </SelectCommand>
  163. <UpdateCommand>
  164. <DbCommand CommandType="Text" ModifiedByUser="false">
  165. <CommandText>UPDATE [dbo].[Prodykt] SET [ArticleNumber] = @ArticleNumber, [Name] = @Name, [Description] = @Description, [Category] = @Category, [Photo] = @Photo, [Manufacturer] = @Manufacturer, [Prais] = @Prais, [Единица_измерения] = @Единица_измерения, [Размер_макс_скидки] = @Размер_макс_скидки, [Поставщик] = @Поставщик, [Действующая_Скидка] = @Действующая_Скидка, [Количество_на_складе] = @Количество_на_складе, [Ctatys] = @Ctatys, [OrderID] = @OrderID WHERE (([ArticleNumber] = @Original_ArticleNumber) AND ((@IsNull_Prais = 1 AND [Prais] IS NULL) OR ([Prais] = @Original_Prais)) 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_OrderID = 1 AND [OrderID] IS NULL) OR ([OrderID] = @Original_OrderID)));
  166. SELECT ArticleNumber, Name, Description, Category, Photo, Manufacturer, Prais, Единица_измерения, Размер_макс_скидки, Поставщик, Действующая_Скидка, Количество_на_складе, Ctatys, OrderID FROM Prodykt WHERE (ArticleNumber = @ArticleNumber)</CommandText>
  167. <Parameters>
  168. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  169. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  170. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
  171. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Category" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
  172. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  173. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Manufacturer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Manufacturer" SourceColumnNullMapping="false" SourceVersion="Current" />
  174. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Prais" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Prais" SourceColumnNullMapping="false" SourceVersion="Current" />
  175. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Current" />
  176. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Размер_макс_скидки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Размер_макс_скидки" SourceColumnNullMapping="false" SourceVersion="Current" />
  177. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Current" />
  178. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Действующая_Скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Действующая_Скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
  179. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество_на_складе" SourceColumnNullMapping="false" SourceVersion="Current" />
  180. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Ctatys" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Ctatys" SourceColumnNullMapping="false" SourceVersion="Current" />
  181. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
  182. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  183. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Prais" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Prais" SourceColumnNullMapping="true" SourceVersion="Original" />
  184. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Prais" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Prais" SourceColumnNullMapping="false" SourceVersion="Original" />
  185. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Единица_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="true" SourceVersion="Original" />
  186. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Единица_измерения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Единица_измерения" SourceColumnNullMapping="false" SourceVersion="Original" />
  187. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Размер_макс_скидки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Размер_макс_скидки" SourceColumnNullMapping="true" SourceVersion="Original" />
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Размер_макс_скидки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Размер_макс_скидки" SourceColumnNullMapping="false" SourceVersion="Original" />
  189. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Поставщик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="true" SourceVersion="Original" />
  190. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Поставщик" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Поставщик" SourceColumnNullMapping="false" SourceVersion="Original" />
  191. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Действующая_Скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Действующая_Скидка" SourceColumnNullMapping="true" SourceVersion="Original" />
  192. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Действующая_Скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Действующая_Скидка" SourceColumnNullMapping="false" SourceVersion="Original" />
  193. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество_на_складе" SourceColumnNullMapping="true" SourceVersion="Original" />
  194. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество_на_складе" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество_на_складе" SourceColumnNullMapping="false" SourceVersion="Original" />
  195. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="true" SourceVersion="Original" />
  196. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  197. </Parameters>
  198. </DbCommand>
  199. </UpdateCommand>
  200. </DbSource>
  201. </MainSource>
  202. <Mappings>
  203. <Mapping SourceColumn="ArticleNumber" DataSetColumn="ArticleNumber" />
  204. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  205. <Mapping SourceColumn="Description" DataSetColumn="Description" />
  206. <Mapping SourceColumn="Category" DataSetColumn="Category" />
  207. <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
  208. <Mapping SourceColumn="Manufacturer" DataSetColumn="Manufacturer" />
  209. <Mapping SourceColumn="Prais" DataSetColumn="Prais" />
  210. <Mapping SourceColumn="Единица_измерения" DataSetColumn="Единица_измерения" />
  211. <Mapping SourceColumn="Размер_макс_скидки" DataSetColumn="Размер_макс_скидки" />
  212. <Mapping SourceColumn="Поставщик" DataSetColumn="Поставщик" />
  213. <Mapping SourceColumn="Действующая_Скидка" DataSetColumn="Действующая_Скидка" />
  214. <Mapping SourceColumn="Количество_на_складе" DataSetColumn="Количество_на_складе" />
  215. <Mapping SourceColumn="Ctatys" DataSetColumn="Ctatys" />
  216. <Mapping SourceColumn="OrderID" DataSetColumn="OrderID" />
  217. </Mappings>
  218. <Sources />
  219. </TableAdapter>
  220. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RoleTableAdapter" GeneratorDataComponentClassName="RoleTableAdapter" Name="Role" UserDataComponentName="RoleTableAdapter">
  221. <MainSource>
  222. <DbSource ConnectionRef="_12gkConnectionString (Settings)" DbObjectName="[12gk].dbo.Role" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  223. <DeleteCommand>
  224. <DbCommand CommandType="Text" ModifiedByUser="false">
  225. <CommandText>DELETE FROM [dbo].[Role] WHERE (([RoleID] = @Original_RoleID) AND ([RoleName] = @Original_RoleName))</CommandText>
  226. <Parameters>
  227. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Original" />
  228. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Original" />
  229. </Parameters>
  230. </DbCommand>
  231. </DeleteCommand>
  232. <InsertCommand>
  233. <DbCommand CommandType="Text" ModifiedByUser="false">
  234. <CommandText>INSERT INTO [dbo].[Role] ([RoleName]) VALUES (@RoleName);
  235. SELECT RoleID, RoleName FROM Role WHERE (RoleID = SCOPE_IDENTITY())</CommandText>
  236. <Parameters>
  237. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Current" />
  238. </Parameters>
  239. </DbCommand>
  240. </InsertCommand>
  241. <SelectCommand>
  242. <DbCommand CommandType="Text" ModifiedByUser="false">
  243. <CommandText>SELECT RoleID, RoleName FROM dbo.Role</CommandText>
  244. <Parameters />
  245. </DbCommand>
  246. </SelectCommand>
  247. <UpdateCommand>
  248. <DbCommand CommandType="Text" ModifiedByUser="false">
  249. <CommandText>UPDATE [dbo].[Role] SET [RoleName] = @RoleName WHERE (([RoleID] = @Original_RoleID) AND ([RoleName] = @Original_RoleName));
  250. SELECT RoleID, RoleName FROM Role WHERE (RoleID = @RoleID)</CommandText>
  251. <Parameters>
  252. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Current" />
  253. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Original" />
  254. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Original" />
  255. <Parameter AllowDbNull="false" AutogeneratedName="RoleID" ColumnName="RoleID" DataSourceName="[12gk].dbo.Role" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@RoleID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
  256. </Parameters>
  257. </DbCommand>
  258. </UpdateCommand>
  259. </DbSource>
  260. </MainSource>
  261. <Mappings>
  262. <Mapping SourceColumn="RoleID" DataSetColumn="RoleID" />
  263. <Mapping SourceColumn="RoleName" DataSetColumn="RoleName" />
  264. </Mappings>
  265. <Sources />
  266. </TableAdapter>
  267. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Users1TableAdapter" GeneratorDataComponentClassName="Users1TableAdapter" Name="Users1" UserDataComponentName="Users1TableAdapter">
  268. <MainSource>
  269. <DbSource ConnectionRef="_12gkConnectionString (Settings)" DbObjectName="[12gk].dbo.Users1" 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">
  270. <DeleteCommand>
  271. <DbCommand CommandType="Text" ModifiedByUser="false">
  272. <CommandText>DELETE FROM [dbo].[Users1] WHERE (([id] = @Original_id) AND ((@IsNull_familia = 1 AND [familia] IS NULL) OR ([familia] = @Original_familia)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_othestvo = 1 AND [othestvo] IS NULL) OR ([othestvo] = @Original_othestvo)) AND ((@IsNull_pole = 1 AND [pole] IS NULL) OR ([pole] = @Original_pole)))</CommandText>
  273. <Parameters>
  274. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  275. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_familia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="familia" SourceColumnNullMapping="true" SourceVersion="Original" />
  276. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_familia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="familia" SourceColumnNullMapping="false" SourceVersion="Original" />
  277. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
  278. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
  279. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_othestvo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="othestvo" SourceColumnNullMapping="true" SourceVersion="Original" />
  280. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_othestvo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="othestvo" SourceColumnNullMapping="false" SourceVersion="Original" />
  281. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pole" SourceColumnNullMapping="true" SourceVersion="Original" />
  282. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pole" SourceColumnNullMapping="false" SourceVersion="Original" />
  283. </Parameters>
  284. </DbCommand>
  285. </DeleteCommand>
  286. <InsertCommand>
  287. <DbCommand CommandType="Text" ModifiedByUser="false">
  288. <CommandText>INSERT INTO [dbo].[Users1] ([familia], [name], [othestvo], [login], [pasword], [pole]) VALUES (@familia, @name, @othestvo, @login, @pasword, @pole);
  289. SELECT id, familia, name, othestvo, login, pasword, pole FROM Users1 WHERE (id = SCOPE_IDENTITY())</CommandText>
  290. <Parameters>
  291. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@familia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="familia" SourceColumnNullMapping="false" SourceVersion="Current" />
  292. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  293. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@othestvo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="othestvo" SourceColumnNullMapping="false" SourceVersion="Current" />
  294. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Current" />
  295. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pasword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pasword" SourceColumnNullMapping="false" SourceVersion="Current" />
  296. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pole" SourceColumnNullMapping="false" SourceVersion="Current" />
  297. </Parameters>
  298. </DbCommand>
  299. </InsertCommand>
  300. <SelectCommand>
  301. <DbCommand CommandType="Text" ModifiedByUser="false">
  302. <CommandText>SELECT id, familia, name, othestvo, login, pasword, pole FROM dbo.Users1</CommandText>
  303. <Parameters />
  304. </DbCommand>
  305. </SelectCommand>
  306. <UpdateCommand>
  307. <DbCommand CommandType="Text" ModifiedByUser="false">
  308. <CommandText>UPDATE [dbo].[Users1] SET [familia] = @familia, [name] = @name, [othestvo] = @othestvo, [login] = @login, [pasword] = @pasword, [pole] = @pole WHERE (([id] = @Original_id) AND ((@IsNull_familia = 1 AND [familia] IS NULL) OR ([familia] = @Original_familia)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_othestvo = 1 AND [othestvo] IS NULL) OR ([othestvo] = @Original_othestvo)) AND ((@IsNull_pole = 1 AND [pole] IS NULL) OR ([pole] = @Original_pole)));
  309. SELECT id, familia, name, othestvo, login, pasword, pole FROM Users1 WHERE (id = @id)</CommandText>
  310. <Parameters>
  311. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@familia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="familia" SourceColumnNullMapping="false" SourceVersion="Current" />
  312. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  313. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@othestvo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="othestvo" SourceColumnNullMapping="false" SourceVersion="Current" />
  314. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Current" />
  315. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pasword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pasword" SourceColumnNullMapping="false" SourceVersion="Current" />
  316. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pole" SourceColumnNullMapping="false" SourceVersion="Current" />
  317. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  318. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_familia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="familia" SourceColumnNullMapping="true" SourceVersion="Original" />
  319. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_familia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="familia" SourceColumnNullMapping="false" SourceVersion="Original" />
  320. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
  321. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
  322. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_othestvo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="othestvo" SourceColumnNullMapping="true" SourceVersion="Original" />
  323. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_othestvo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="othestvo" SourceColumnNullMapping="false" SourceVersion="Original" />
  324. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pole" SourceColumnNullMapping="true" SourceVersion="Original" />
  325. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pole" SourceColumnNullMapping="false" SourceVersion="Original" />
  326. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="[12gk].dbo.Users1" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  327. </Parameters>
  328. </DbCommand>
  329. </UpdateCommand>
  330. </DbSource>
  331. </MainSource>
  332. <Mappings>
  333. <Mapping SourceColumn="id" DataSetColumn="id" />
  334. <Mapping SourceColumn="familia" DataSetColumn="familia" />
  335. <Mapping SourceColumn="name" DataSetColumn="name" />
  336. <Mapping SourceColumn="othestvo" DataSetColumn="othestvo" />
  337. <Mapping SourceColumn="login" DataSetColumn="login" />
  338. <Mapping SourceColumn="pasword" DataSetColumn="pasword" />
  339. <Mapping SourceColumn="pole" DataSetColumn="pole" />
  340. </Mappings>
  341. <Sources />
  342. </TableAdapter>
  343. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ZakazTableAdapter" GeneratorDataComponentClassName="ZakazTableAdapter" Name="Zakaz" UserDataComponentName="ZakazTableAdapter">
  344. <MainSource>
  345. <DbSource ConnectionRef="_12gkConnectionString (Settings)" DbObjectName="[12gk].dbo.Zakaz" 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">
  346. <DeleteCommand>
  347. <DbCommand CommandType="Text" ModifiedByUser="false">
  348. <CommandText>DELETE FROM [dbo].[Zakaz] WHERE (([id] = @Original_id) AND ((@IsNull_data = 1 AND [data] IS NULL) OR ([data] = @Original_data)) AND ((@IsNull_dadaDostavki = 1 AND [dadaDostavki] IS NULL) OR ([dadaDostavki] = @Original_dadaDostavki)) AND ((@IsNull_Punkt = 1 AND [Punkt] IS NULL) OR ([Punkt] = @Original_Punkt)) AND ((@IsNull_Klient = 1 AND [Klient] IS NULL) OR ([Klient] = @Original_Klient)) AND ((@IsNull_KodPoluhatil = 1 AND [KodPoluhatil] IS NULL) OR ([KodPoluhatil] = @Original_KodPoluhatil)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)))</CommandText>
  349. <Parameters>
  350. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  351. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_data" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="data" SourceColumnNullMapping="true" SourceVersion="Original" />
  352. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_data" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="data" SourceColumnNullMapping="false" SourceVersion="Original" />
  353. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dadaDostavki" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dadaDostavki" SourceColumnNullMapping="true" SourceVersion="Original" />
  354. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_dadaDostavki" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dadaDostavki" SourceColumnNullMapping="false" SourceVersion="Original" />
  355. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Punkt" SourceColumnNullMapping="true" SourceVersion="Original" />
  356. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Punkt" SourceColumnNullMapping="false" SourceVersion="Original" />
  357. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Klient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Klient" SourceColumnNullMapping="true" SourceVersion="Original" />
  358. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Klient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Klient" SourceColumnNullMapping="false" SourceVersion="Original" />
  359. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KodPoluhatil" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPoluhatil" SourceColumnNullMapping="true" SourceVersion="Original" />
  360. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_KodPoluhatil" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPoluhatil" SourceColumnNullMapping="false" SourceVersion="Original" />
  361. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
  362. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
  363. </Parameters>
  364. </DbCommand>
  365. </DeleteCommand>
  366. <InsertCommand>
  367. <DbCommand CommandType="Text" ModifiedByUser="false">
  368. <CommandText>INSERT INTO [dbo].[Zakaz] ([data], [dadaDostavki], [Punkt], [Klient], [KodPoluhatil], [Status]) VALUES (@data, @dadaDostavki, @Punkt, @Klient, @KodPoluhatil, @Status);
  369. SELECT id, data, dadaDostavki, Punkt, Klient, KodPoluhatil, Status FROM Zakaz WHERE (id = SCOPE_IDENTITY())</CommandText>
  370. <Parameters>
  371. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@data" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="data" SourceColumnNullMapping="false" SourceVersion="Current" />
  372. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@dadaDostavki" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dadaDostavki" SourceColumnNullMapping="false" SourceVersion="Current" />
  373. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Punkt" SourceColumnNullMapping="false" SourceVersion="Current" />
  374. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Klient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Klient" SourceColumnNullMapping="false" SourceVersion="Current" />
  375. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@KodPoluhatil" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPoluhatil" SourceColumnNullMapping="false" SourceVersion="Current" />
  376. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
  377. </Parameters>
  378. </DbCommand>
  379. </InsertCommand>
  380. <SelectCommand>
  381. <DbCommand CommandType="Text" ModifiedByUser="false">
  382. <CommandText>SELECT id, data, dadaDostavki, Punkt, Klient, KodPoluhatil, Status FROM dbo.Zakaz</CommandText>
  383. <Parameters />
  384. </DbCommand>
  385. </SelectCommand>
  386. <UpdateCommand>
  387. <DbCommand CommandType="Text" ModifiedByUser="false">
  388. <CommandText>UPDATE [dbo].[Zakaz] SET [data] = @data, [dadaDostavki] = @dadaDostavki, [Punkt] = @Punkt, [Klient] = @Klient, [KodPoluhatil] = @KodPoluhatil, [Status] = @Status WHERE (([id] = @Original_id) AND ((@IsNull_data = 1 AND [data] IS NULL) OR ([data] = @Original_data)) AND ((@IsNull_dadaDostavki = 1 AND [dadaDostavki] IS NULL) OR ([dadaDostavki] = @Original_dadaDostavki)) AND ((@IsNull_Punkt = 1 AND [Punkt] IS NULL) OR ([Punkt] = @Original_Punkt)) AND ((@IsNull_Klient = 1 AND [Klient] IS NULL) OR ([Klient] = @Original_Klient)) AND ((@IsNull_KodPoluhatil = 1 AND [KodPoluhatil] IS NULL) OR ([KodPoluhatil] = @Original_KodPoluhatil)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)));
  389. SELECT id, data, dadaDostavki, Punkt, Klient, KodPoluhatil, Status FROM Zakaz WHERE (id = @id)</CommandText>
  390. <Parameters>
  391. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@data" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="data" SourceColumnNullMapping="false" SourceVersion="Current" />
  392. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@dadaDostavki" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dadaDostavki" SourceColumnNullMapping="false" SourceVersion="Current" />
  393. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Punkt" SourceColumnNullMapping="false" SourceVersion="Current" />
  394. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Klient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Klient" SourceColumnNullMapping="false" SourceVersion="Current" />
  395. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@KodPoluhatil" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPoluhatil" SourceColumnNullMapping="false" SourceVersion="Current" />
  396. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
  397. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  398. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_data" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="data" SourceColumnNullMapping="true" SourceVersion="Original" />
  399. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_data" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="data" SourceColumnNullMapping="false" SourceVersion="Original" />
  400. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dadaDostavki" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dadaDostavki" SourceColumnNullMapping="true" SourceVersion="Original" />
  401. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_dadaDostavki" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="dadaDostavki" SourceColumnNullMapping="false" SourceVersion="Original" />
  402. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Punkt" SourceColumnNullMapping="true" SourceVersion="Original" />
  403. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Punkt" SourceColumnNullMapping="false" SourceVersion="Original" />
  404. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Klient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Klient" SourceColumnNullMapping="true" SourceVersion="Original" />
  405. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Klient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Klient" SourceColumnNullMapping="false" SourceVersion="Original" />
  406. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KodPoluhatil" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPoluhatil" SourceColumnNullMapping="true" SourceVersion="Original" />
  407. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_KodPoluhatil" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KodPoluhatil" SourceColumnNullMapping="false" SourceVersion="Original" />
  408. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
  409. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
  410. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="[12gk].dbo.Zakaz" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  411. </Parameters>
  412. </DbCommand>
  413. </UpdateCommand>
  414. </DbSource>
  415. </MainSource>
  416. <Mappings>
  417. <Mapping SourceColumn="id" DataSetColumn="id" />
  418. <Mapping SourceColumn="data" DataSetColumn="data" />
  419. <Mapping SourceColumn="dadaDostavki" DataSetColumn="dadaDostavki" />
  420. <Mapping SourceColumn="Punkt" DataSetColumn="Punkt" />
  421. <Mapping SourceColumn="Klient" DataSetColumn="Klient" />
  422. <Mapping SourceColumn="KodPoluhatil" DataSetColumn="KodPoluhatil" />
  423. <Mapping SourceColumn="Status" DataSetColumn="Status" />
  424. </Mappings>
  425. <Sources />
  426. </TableAdapter>
  427. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ZakazTovaraTableAdapter" GeneratorDataComponentClassName="ZakazTovaraTableAdapter" Name="ZakazTovara" UserDataComponentName="ZakazTovaraTableAdapter">
  428. <MainSource>
  429. <DbSource ConnectionRef="_12gkConnectionString (Settings)" DbObjectName="[12gk].dbo.ZakazTovara" 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">
  430. <DeleteCommand>
  431. <DbCommand CommandType="Text" ModifiedByUser="false">
  432. <CommandText>DELETE FROM [dbo].[ZakazTovara] WHERE (([id] = @Original_id) AND ((@IsNull_nomerZakaz = 1 AND [nomerZakaz] IS NULL) OR ([nomerZakaz] = @Original_nomerZakaz)) AND ((@IsNull_nameTovar = 1 AND [nameTovar] IS NULL) OR ([nameTovar] = @Original_nameTovar)) AND ((@IsNull_kolichestvo = 1 AND [kolichestvo] IS NULL) OR ([kolichestvo] = @Original_kolichestvo)) AND ((@IsNull_id_punkt = 1 AND [id_punkt] IS NULL) OR ([id_punkt] = @Original_id_punkt)))</CommandText>
  433. <Parameters>
  434. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  435. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nomerZakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nomerZakaz" SourceColumnNullMapping="true" SourceVersion="Original" />
  436. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nomerZakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nomerZakaz" SourceColumnNullMapping="false" SourceVersion="Original" />
  437. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nameTovar" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nameTovar" SourceColumnNullMapping="true" SourceVersion="Original" />
  438. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_nameTovar" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="nameTovar" SourceColumnNullMapping="false" SourceVersion="Original" />
  439. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kolichestvo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kolichestvo" SourceColumnNullMapping="true" SourceVersion="Original" />
  440. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_kolichestvo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="kolichestvo" SourceColumnNullMapping="false" SourceVersion="Original" />
  441. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_punkt" SourceColumnNullMapping="true" SourceVersion="Original" />
  442. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_punkt" SourceColumnNullMapping="false" SourceVersion="Original" />
  443. </Parameters>
  444. </DbCommand>
  445. </DeleteCommand>
  446. <InsertCommand>
  447. <DbCommand CommandType="Text" ModifiedByUser="false">
  448. <CommandText>INSERT INTO [dbo].[ZakazTovara] ([nomerZakaz], [nameTovar], [kolichestvo], [id_punkt]) VALUES (@nomerZakaz, @nameTovar, @kolichestvo, @id_punkt);
  449. SELECT id, nomerZakaz, nameTovar, kolichestvo, id_punkt FROM ZakazTovara WHERE (id = SCOPE_IDENTITY())</CommandText>
  450. <Parameters>
  451. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nomerZakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nomerZakaz" SourceColumnNullMapping="false" SourceVersion="Current" />
  452. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@nameTovar" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="nameTovar" SourceColumnNullMapping="false" SourceVersion="Current" />
  453. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@kolichestvo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="kolichestvo" SourceColumnNullMapping="false" SourceVersion="Current" />
  454. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_punkt" SourceColumnNullMapping="false" SourceVersion="Current" />
  455. </Parameters>
  456. </DbCommand>
  457. </InsertCommand>
  458. <SelectCommand>
  459. <DbCommand CommandType="Text" ModifiedByUser="false">
  460. <CommandText>SELECT id, nomerZakaz, nameTovar, kolichestvo, id_punkt FROM dbo.ZakazTovara</CommandText>
  461. <Parameters />
  462. </DbCommand>
  463. </SelectCommand>
  464. <UpdateCommand>
  465. <DbCommand CommandType="Text" ModifiedByUser="false">
  466. <CommandText>UPDATE [dbo].[ZakazTovara] SET [nomerZakaz] = @nomerZakaz, [nameTovar] = @nameTovar, [kolichestvo] = @kolichestvo, [id_punkt] = @id_punkt WHERE (([id] = @Original_id) AND ((@IsNull_nomerZakaz = 1 AND [nomerZakaz] IS NULL) OR ([nomerZakaz] = @Original_nomerZakaz)) AND ((@IsNull_nameTovar = 1 AND [nameTovar] IS NULL) OR ([nameTovar] = @Original_nameTovar)) AND ((@IsNull_kolichestvo = 1 AND [kolichestvo] IS NULL) OR ([kolichestvo] = @Original_kolichestvo)) AND ((@IsNull_id_punkt = 1 AND [id_punkt] IS NULL) OR ([id_punkt] = @Original_id_punkt)));
  467. SELECT id, nomerZakaz, nameTovar, kolichestvo, id_punkt FROM ZakazTovara WHERE (id = @id)</CommandText>
  468. <Parameters>
  469. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nomerZakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nomerZakaz" SourceColumnNullMapping="false" SourceVersion="Current" />
  470. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@nameTovar" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="nameTovar" SourceColumnNullMapping="false" SourceVersion="Current" />
  471. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@kolichestvo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="kolichestvo" SourceColumnNullMapping="false" SourceVersion="Current" />
  472. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_punkt" SourceColumnNullMapping="false" SourceVersion="Current" />
  473. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  474. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nomerZakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nomerZakaz" SourceColumnNullMapping="true" SourceVersion="Original" />
  475. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nomerZakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nomerZakaz" SourceColumnNullMapping="false" SourceVersion="Original" />
  476. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nameTovar" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nameTovar" SourceColumnNullMapping="true" SourceVersion="Original" />
  477. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_nameTovar" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="nameTovar" SourceColumnNullMapping="false" SourceVersion="Original" />
  478. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kolichestvo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kolichestvo" SourceColumnNullMapping="true" SourceVersion="Original" />
  479. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_kolichestvo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="kolichestvo" SourceColumnNullMapping="false" SourceVersion="Original" />
  480. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_punkt" SourceColumnNullMapping="true" SourceVersion="Original" />
  481. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_punkt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_punkt" SourceColumnNullMapping="false" SourceVersion="Original" />
  482. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="[12gk].dbo.ZakazTovara" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  483. </Parameters>
  484. </DbCommand>
  485. </UpdateCommand>
  486. </DbSource>
  487. </MainSource>
  488. <Mappings>
  489. <Mapping SourceColumn="id" DataSetColumn="id" />
  490. <Mapping SourceColumn="nomerZakaz" DataSetColumn="nomerZakaz" />
  491. <Mapping SourceColumn="nameTovar" DataSetColumn="nameTovar" />
  492. <Mapping SourceColumn="kolichestvo" DataSetColumn="kolichestvo" />
  493. <Mapping SourceColumn="id_punkt" DataSetColumn="id_punkt" />
  494. </Mappings>
  495. <Sources />
  496. </TableAdapter>
  497. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ПунктВыдачиTableAdapter" GeneratorDataComponentClassName="ПунктВыдачиTableAdapter" Name="ПунктВыдачи" UserDataComponentName="ПунктВыдачиTableAdapter">
  498. <MainSource>
  499. <DbSource ConnectionRef="_12gkConnectionString (Settings)" DbObjectName="[12gk].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">
  500. <DeleteCommand>
  501. <DbCommand CommandType="Text" ModifiedByUser="false">
  502. <CommandText>DELETE FROM [dbo].[ПунктВыдачи] WHERE (([id] = @Original_id) AND ([Идентификатор] = @Original_Идентификатор) AND ([Город] = @Original_Город) AND ([Улица] = @Original_Улица) AND ((@IsNull_Дом = 1 AND [Дом] IS NULL) OR ([Дом] = @Original_Дом)))</CommandText>
  503. <Parameters>
  504. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  505. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Идентификатор" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Идентификатор" SourceColumnNullMapping="false" SourceVersion="Original" />
  506. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Original" />
  507. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Original" />
  508. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дом" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дом" SourceColumnNullMapping="true" SourceVersion="Original" />
  509. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Дом" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дом" SourceColumnNullMapping="false" SourceVersion="Original" />
  510. </Parameters>
  511. </DbCommand>
  512. </DeleteCommand>
  513. <InsertCommand>
  514. <DbCommand CommandType="Text" ModifiedByUser="false">
  515. <CommandText>INSERT INTO [dbo].[ПунктВыдачи] ([Идентификатор], [Город], [Улица], [Дом]) VALUES (@Идентификатор, @Город, @Улица, @Дом);
  516. SELECT id, Идентификатор, Город, Улица, Дом FROM ПунктВыдачи WHERE (id = SCOPE_IDENTITY())</CommandText>
  517. <Parameters>
  518. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Идентификатор" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Идентификатор" SourceColumnNullMapping="false" SourceVersion="Current" />
  519. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Current" />
  520. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Current" />
  521. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Дом" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дом" SourceColumnNullMapping="false" SourceVersion="Current" />
  522. </Parameters>
  523. </DbCommand>
  524. </InsertCommand>
  525. <SelectCommand>
  526. <DbCommand CommandType="Text" ModifiedByUser="false">
  527. <CommandText>SELECT id, Идентификатор, Город, Улица, Дом FROM dbo.ПунктВыдачи</CommandText>
  528. <Parameters />
  529. </DbCommand>
  530. </SelectCommand>
  531. <UpdateCommand>
  532. <DbCommand CommandType="Text" ModifiedByUser="false">
  533. <CommandText>UPDATE [dbo].[ПунктВыдачи] SET [Идентификатор] = @Идентификатор, [Город] = @Город, [Улица] = @Улица, [Дом] = @Дом WHERE (([id] = @Original_id) AND ([Идентификатор] = @Original_Идентификатор) AND ([Город] = @Original_Город) AND ([Улица] = @Original_Улица) AND ((@IsNull_Дом = 1 AND [Дом] IS NULL) OR ([Дом] = @Original_Дом)));
  534. SELECT id, Идентификатор, Город, Улица, Дом FROM ПунктВыдачи WHERE (id = @id)</CommandText>
  535. <Parameters>
  536. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Идентификатор" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Идентификатор" SourceColumnNullMapping="false" SourceVersion="Current" />
  537. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Current" />
  538. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Current" />
  539. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Дом" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дом" SourceColumnNullMapping="false" SourceVersion="Current" />
  540. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  541. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Идентификатор" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Идентификатор" SourceColumnNullMapping="false" SourceVersion="Original" />
  542. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Город" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Город" SourceColumnNullMapping="false" SourceVersion="Original" />
  543. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Улица" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Улица" SourceColumnNullMapping="false" SourceVersion="Original" />
  544. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дом" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дом" SourceColumnNullMapping="true" SourceVersion="Original" />
  545. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Дом" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дом" SourceColumnNullMapping="false" SourceVersion="Original" />
  546. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="[12gk].dbo.ПунктВыдачи" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  547. </Parameters>
  548. </DbCommand>
  549. </UpdateCommand>
  550. </DbSource>
  551. </MainSource>
  552. <Mappings>
  553. <Mapping SourceColumn="id" DataSetColumn="id" />
  554. <Mapping SourceColumn="Идентификатор" DataSetColumn="Идентификатор" />
  555. <Mapping SourceColumn="Город" DataSetColumn="Город" />
  556. <Mapping SourceColumn="Улица" DataSetColumn="Улица" />
  557. <Mapping SourceColumn="Дом" DataSetColumn="Дом" />
  558. </Mappings>
  559. <Sources />
  560. </TableAdapter>
  561. </Tables>
  562. <Sources />
  563. </DataSource>
  564. </xs:appinfo>
  565. </xs:annotation>
  566. <xs:element name="_12gkDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="_12gkDataSet" msprop:Generator_UserDSName="_12gkDataSet">
  567. <xs:complexType>
  568. <xs:choice minOccurs="0" maxOccurs="unbounded">
  569. <xs:element name="Order" msprop:Generator_TableClassName="OrderDataTable" msprop:Generator_TableVarName="tableOrder" msprop:Generator_TablePropName="Order" msprop:Generator_RowDeletingName="OrderRowDeleting" msprop:Generator_RowChangingName="OrderRowChanging" msprop:Generator_RowEvHandlerName="OrderRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderRowDeleted" msprop:Generator_UserTableName="Order" msprop:Generator_RowChangedName="OrderRowChanged" msprop:Generator_RowEvArgName="OrderRowChangeEvent" msprop:Generator_RowClassName="OrderRow">
  570. <xs:complexType>
  571. <xs:sequence>
  572. <xs:element name="OrderID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnOrderID" msprop:Generator_ColumnPropNameInRow="OrderID" msprop:Generator_ColumnPropNameInTable="OrderIDColumn" msprop:Generator_UserColumnName="OrderID" type="xs:int" />
  573. <xs:element name="OrderStatus" msprop:Generator_ColumnVarNameInTable="columnOrderStatus" msprop:Generator_ColumnPropNameInRow="OrderStatus" msprop:Generator_ColumnPropNameInTable="OrderStatusColumn" msprop:Generator_UserColumnName="OrderStatus">
  574. <xs:simpleType>
  575. <xs:restriction base="xs:string">
  576. <xs:maxLength value="2147483647" />
  577. </xs:restriction>
  578. </xs:simpleType>
  579. </xs:element>
  580. <xs:element name="OrderDeliveryDate" msprop:Generator_ColumnVarNameInTable="columnOrderDeliveryDate" msprop:Generator_ColumnPropNameInRow="OrderDeliveryDate" msprop:Generator_ColumnPropNameInTable="OrderDeliveryDateColumn" msprop:Generator_UserColumnName="OrderDeliveryDate" type="xs:dateTime" />
  581. <xs:element name="OrderPickupPoint" msprop:Generator_ColumnVarNameInTable="columnOrderPickupPoint" msprop:Generator_ColumnPropNameInRow="OrderPickupPoint" msprop:Generator_ColumnPropNameInTable="OrderPickupPointColumn" msprop:Generator_UserColumnName="OrderPickupPoint">
  582. <xs:simpleType>
  583. <xs:restriction base="xs:string">
  584. <xs:maxLength value="2147483647" />
  585. </xs:restriction>
  586. </xs:simpleType>
  587. </xs:element>
  588. </xs:sequence>
  589. </xs:complexType>
  590. </xs:element>
  591. <xs:element name="OrdersProdukts" msprop:Generator_TableClassName="OrdersProduktsDataTable" msprop:Generator_TableVarName="tableOrdersProdukts" msprop:Generator_TablePropName="OrdersProdukts" msprop:Generator_RowDeletingName="OrdersProduktsRowDeleting" msprop:Generator_RowChangingName="OrdersProduktsRowChanging" msprop:Generator_RowEvHandlerName="OrdersProduktsRowChangeEventHandler" msprop:Generator_RowDeletedName="OrdersProduktsRowDeleted" msprop:Generator_UserTableName="OrdersProdukts" msprop:Generator_RowChangedName="OrdersProduktsRowChanged" msprop:Generator_RowEvArgName="OrdersProduktsRowChangeEvent" msprop:Generator_RowClassName="OrdersProduktsRow">
  592. <xs:complexType>
  593. <xs:sequence>
  594. <xs:element name="OrderID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnOrderID" msprop:Generator_ColumnPropNameInRow="OrderID" msprop:Generator_ColumnPropNameInTable="OrderIDColumn" msprop:Generator_UserColumnName="OrderID" type="xs:int" />
  595. <xs:element name="ProductArticleNumber" msprop:Generator_ColumnVarNameInTable="columnProductArticleNumber" msprop:Generator_ColumnPropNameInRow="ProductArticleNumber" msprop:Generator_ColumnPropNameInTable="ProductArticleNumberColumn" msprop:Generator_UserColumnName="ProductArticleNumber" type="xs:int" />
  596. </xs:sequence>
  597. </xs:complexType>
  598. </xs:element>
  599. <xs:element name="Prodykt" msprop:Generator_TableClassName="ProdyktDataTable" msprop:Generator_TableVarName="tableProdykt" msprop:Generator_TablePropName="Prodykt" msprop:Generator_RowDeletingName="ProdyktRowDeleting" msprop:Generator_RowChangingName="ProdyktRowChanging" msprop:Generator_RowEvHandlerName="ProdyktRowChangeEventHandler" msprop:Generator_RowDeletedName="ProdyktRowDeleted" msprop:Generator_UserTableName="Prodykt" msprop:Generator_RowChangedName="ProdyktRowChanged" msprop:Generator_RowEvArgName="ProdyktRowChangeEvent" msprop:Generator_RowClassName="ProdyktRow">
  600. <xs:complexType>
  601. <xs:sequence>
  602. <xs:element name="ArticleNumber" msprop:Generator_ColumnVarNameInTable="columnArticleNumber" msprop:Generator_ColumnPropNameInRow="ArticleNumber" msprop:Generator_ColumnPropNameInTable="ArticleNumberColumn" msprop:Generator_UserColumnName="ArticleNumber">
  603. <xs:simpleType>
  604. <xs:restriction base="xs:string">
  605. <xs:maxLength value="100" />
  606. </xs:restriction>
  607. </xs:simpleType>
  608. </xs:element>
  609. <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
  610. <xs:simpleType>
  611. <xs:restriction base="xs:string">
  612. <xs:maxLength value="2147483647" />
  613. </xs:restriction>
  614. </xs:simpleType>
  615. </xs:element>
  616. <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
  617. <xs:simpleType>
  618. <xs:restriction base="xs:string">
  619. <xs:maxLength value="2147483647" />
  620. </xs:restriction>
  621. </xs:simpleType>
  622. </xs:element>
  623. <xs:element name="Category" msprop:Generator_ColumnVarNameInTable="columnCategory" msprop:Generator_ColumnPropNameInRow="Category" msprop:Generator_ColumnPropNameInTable="CategoryColumn" msprop:Generator_UserColumnName="Category" minOccurs="0">
  624. <xs:simpleType>
  625. <xs:restriction base="xs:string">
  626. <xs:maxLength value="2147483647" />
  627. </xs:restriction>
  628. </xs:simpleType>
  629. </xs:element>
  630. <xs:element name="Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" msprop:Generator_UserColumnName="Photo" type="xs:base64Binary" minOccurs="0" />
  631. <xs:element name="Manufacturer" msprop:Generator_ColumnVarNameInTable="columnManufacturer" msprop:Generator_ColumnPropNameInRow="Manufacturer" msprop:Generator_ColumnPropNameInTable="ManufacturerColumn" msprop:Generator_UserColumnName="Manufacturer" minOccurs="0">
  632. <xs:simpleType>
  633. <xs:restriction base="xs:string">
  634. <xs:maxLength value="2147483647" />
  635. </xs:restriction>
  636. </xs:simpleType>
  637. </xs:element>
  638. <xs:element name="Prais" msprop:Generator_ColumnVarNameInTable="columnPrais" msprop:Generator_ColumnPropNameInRow="Prais" msprop:Generator_ColumnPropNameInTable="PraisColumn" msprop:Generator_UserColumnName="Prais" type="xs:decimal" minOccurs="0" />
  639. <xs:element name="Единица_измерения" msprop:Generator_ColumnVarNameInTable="columnЕдиница_измерения" msprop:Generator_ColumnPropNameInRow="Единица_измерения" msprop:Generator_ColumnPropNameInTable="Единица_измеренияColumn" msprop:Generator_UserColumnName="Единица_измерения" minOccurs="0">
  640. <xs:simpleType>
  641. <xs:restriction base="xs:string">
  642. <xs:maxLength value="50" />
  643. </xs:restriction>
  644. </xs:simpleType>
  645. </xs:element>
  646. <xs:element name="Размер_макс_скидки" msprop:Generator_ColumnVarNameInTable="columnРазмер_макс_скидки" msprop:Generator_ColumnPropNameInRow="Размер_макс_скидки" msprop:Generator_ColumnPropNameInTable="Размер_макс_скидкиColumn" msprop:Generator_UserColumnName="Размер_макс_скидки" type="xs:int" minOccurs="0" />
  647. <xs:element name="Поставщик" msprop:Generator_ColumnVarNameInTable="columnПоставщик" msprop:Generator_ColumnPropNameInRow="Поставщик" msprop:Generator_ColumnPropNameInTable="ПоставщикColumn" msprop:Generator_UserColumnName="Поставщик" minOccurs="0">
  648. <xs:simpleType>
  649. <xs:restriction base="xs:string">
  650. <xs:maxLength value="50" />
  651. </xs:restriction>
  652. </xs:simpleType>
  653. </xs:element>
  654. <xs:element name="Действующая_Скидка" msprop:Generator_ColumnVarNameInTable="columnДействующая_Скидка" msprop:Generator_ColumnPropNameInRow="Действующая_Скидка" msprop:Generator_ColumnPropNameInTable="Действующая_СкидкаColumn" msprop:Generator_UserColumnName="Действующая_Скидка" type="xs:int" minOccurs="0" />
  655. <xs:element name="Количество_на_складе" msprop:Generator_ColumnVarNameInTable="columnКоличество_на_складе" msprop:Generator_ColumnPropNameInRow="Количество_на_складе" msprop:Generator_ColumnPropNameInTable="Количество_на_складеColumn" msprop:Generator_UserColumnName="Количество_на_складе" type="xs:int" minOccurs="0" />
  656. <xs:element name="Ctatys" msprop:Generator_ColumnVarNameInTable="columnCtatys" msprop:Generator_ColumnPropNameInRow="Ctatys" msprop:Generator_ColumnPropNameInTable="CtatysColumn" msprop:Generator_UserColumnName="Ctatys" minOccurs="0">
  657. <xs:simpleType>
  658. <xs:restriction base="xs:string">
  659. <xs:maxLength value="2147483647" />
  660. </xs:restriction>
  661. </xs:simpleType>
  662. </xs:element>
  663. <xs:element name="OrderID" msprop:Generator_ColumnVarNameInTable="columnOrderID" msprop:Generator_ColumnPropNameInRow="OrderID" msprop:Generator_ColumnPropNameInTable="OrderIDColumn" msprop:Generator_UserColumnName="OrderID" type="xs:int" minOccurs="0" />
  664. </xs:sequence>
  665. </xs:complexType>
  666. </xs:element>
  667. <xs:element name="Role" msprop:Generator_TableClassName="RoleDataTable" msprop:Generator_TableVarName="tableRole" msprop:Generator_TablePropName="Role" msprop:Generator_RowDeletingName="RoleRowDeleting" msprop:Generator_RowChangingName="RoleRowChanging" msprop:Generator_RowEvHandlerName="RoleRowChangeEventHandler" msprop:Generator_RowDeletedName="RoleRowDeleted" msprop:Generator_UserTableName="Role" msprop:Generator_RowChangedName="RoleRowChanged" msprop:Generator_RowEvArgName="RoleRowChangeEvent" msprop:Generator_RowClassName="RoleRow">
  668. <xs:complexType>
  669. <xs:sequence>
  670. <xs:element name="RoleID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnRoleID" msprop:Generator_ColumnPropNameInRow="RoleID" msprop:Generator_ColumnPropNameInTable="RoleIDColumn" msprop:Generator_UserColumnName="RoleID" type="xs:int" />
  671. <xs:element name="RoleName" msprop:Generator_ColumnVarNameInTable="columnRoleName" msprop:Generator_ColumnPropNameInRow="RoleName" msprop:Generator_ColumnPropNameInTable="RoleNameColumn" msprop:Generator_UserColumnName="RoleName">
  672. <xs:simpleType>
  673. <xs:restriction base="xs:string">
  674. <xs:maxLength value="100" />
  675. </xs:restriction>
  676. </xs:simpleType>
  677. </xs:element>
  678. </xs:sequence>
  679. </xs:complexType>
  680. </xs:element>
  681. <xs:element name="Users1" msprop:Generator_TableClassName="Users1DataTable" msprop:Generator_TableVarName="tableUsers1" msprop:Generator_TablePropName="Users1" msprop:Generator_RowDeletingName="Users1RowDeleting" msprop:Generator_RowChangingName="Users1RowChanging" msprop:Generator_RowEvHandlerName="Users1RowChangeEventHandler" msprop:Generator_RowDeletedName="Users1RowDeleted" msprop:Generator_UserTableName="Users1" msprop:Generator_RowChangedName="Users1RowChanged" msprop:Generator_RowEvArgName="Users1RowChangeEvent" msprop:Generator_RowClassName="Users1Row">
  682. <xs:complexType>
  683. <xs:sequence>
  684. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  685. <xs:element name="familia" msprop:Generator_ColumnVarNameInTable="columnfamilia" msprop:Generator_ColumnPropNameInRow="familia" msprop:Generator_ColumnPropNameInTable="familiaColumn" msprop:Generator_UserColumnName="familia" minOccurs="0">
  686. <xs:simpleType>
  687. <xs:restriction base="xs:string">
  688. <xs:maxLength value="100" />
  689. </xs:restriction>
  690. </xs:simpleType>
  691. </xs:element>
  692. <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
  693. <xs:simpleType>
  694. <xs:restriction base="xs:string">
  695. <xs:maxLength value="100" />
  696. </xs:restriction>
  697. </xs:simpleType>
  698. </xs:element>
  699. <xs:element name="othestvo" msprop:Generator_ColumnVarNameInTable="columnothestvo" msprop:Generator_ColumnPropNameInRow="othestvo" msprop:Generator_ColumnPropNameInTable="othestvoColumn" msprop:Generator_UserColumnName="othestvo" minOccurs="0">
  700. <xs:simpleType>
  701. <xs:restriction base="xs:string">
  702. <xs:maxLength value="100" />
  703. </xs:restriction>
  704. </xs:simpleType>
  705. </xs:element>
  706. <xs:element name="login" msprop:Generator_ColumnVarNameInTable="columnlogin" msprop:Generator_ColumnPropNameInRow="login" msprop:Generator_ColumnPropNameInTable="loginColumn" msprop:Generator_UserColumnName="login" minOccurs="0">
  707. <xs:simpleType>
  708. <xs:restriction base="xs:string">
  709. <xs:maxLength value="2147483647" />
  710. </xs:restriction>
  711. </xs:simpleType>
  712. </xs:element>
  713. <xs:element name="pasword" msprop:Generator_ColumnVarNameInTable="columnpasword" msprop:Generator_ColumnPropNameInRow="pasword" msprop:Generator_ColumnPropNameInTable="paswordColumn" msprop:Generator_UserColumnName="pasword" minOccurs="0">
  714. <xs:simpleType>
  715. <xs:restriction base="xs:string">
  716. <xs:maxLength value="2147483647" />
  717. </xs:restriction>
  718. </xs:simpleType>
  719. </xs:element>
  720. <xs:element name="pole" msprop:Generator_ColumnVarNameInTable="columnpole" msprop:Generator_ColumnPropNameInRow="pole" msprop:Generator_ColumnPropNameInTable="poleColumn" msprop:Generator_UserColumnName="pole" type="xs:int" minOccurs="0" />
  721. </xs:sequence>
  722. </xs:complexType>
  723. </xs:element>
  724. <xs:element name="Zakaz" msprop:Generator_TableClassName="ZakazDataTable" msprop:Generator_TableVarName="tableZakaz" msprop:Generator_TablePropName="Zakaz" msprop:Generator_RowDeletingName="ZakazRowDeleting" msprop:Generator_RowChangingName="ZakazRowChanging" msprop:Generator_RowEvHandlerName="ZakazRowChangeEventHandler" msprop:Generator_RowDeletedName="ZakazRowDeleted" msprop:Generator_UserTableName="Zakaz" msprop:Generator_RowChangedName="ZakazRowChanged" msprop:Generator_RowEvArgName="ZakazRowChangeEvent" msprop:Generator_RowClassName="ZakazRow">
  725. <xs:complexType>
  726. <xs:sequence>
  727. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  728. <xs:element name="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" msprop:Generator_UserColumnName="data" type="xs:dateTime" minOccurs="0" />
  729. <xs:element name="dadaDostavki" msprop:Generator_ColumnVarNameInTable="columndadaDostavki" msprop:Generator_ColumnPropNameInRow="dadaDostavki" msprop:Generator_ColumnPropNameInTable="dadaDostavkiColumn" msprop:Generator_UserColumnName="dadaDostavki" type="xs:dateTime" minOccurs="0" />
  730. <xs:element name="Punkt" msprop:Generator_ColumnVarNameInTable="columnPunkt" msprop:Generator_ColumnPropNameInRow="Punkt" msprop:Generator_ColumnPropNameInTable="PunktColumn" msprop:Generator_UserColumnName="Punkt" type="xs:int" minOccurs="0" />
  731. <xs:element name="Klient" msprop:Generator_ColumnVarNameInTable="columnKlient" msprop:Generator_ColumnPropNameInRow="Klient" msprop:Generator_ColumnPropNameInTable="KlientColumn" msprop:Generator_UserColumnName="Klient" type="xs:int" minOccurs="0" />
  732. <xs:element name="KodPoluhatil" msprop:Generator_ColumnVarNameInTable="columnKodPoluhatil" msprop:Generator_ColumnPropNameInRow="KodPoluhatil" msprop:Generator_ColumnPropNameInTable="KodPoluhatilColumn" msprop:Generator_UserColumnName="KodPoluhatil" type="xs:int" minOccurs="0" />
  733. <xs:element name="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" type="xs:int" minOccurs="0" />
  734. </xs:sequence>
  735. </xs:complexType>
  736. </xs:element>
  737. <xs:element name="ZakazTovara" msprop:Generator_TableClassName="ZakazTovaraDataTable" msprop:Generator_TableVarName="tableZakazTovara" msprop:Generator_TablePropName="ZakazTovara" msprop:Generator_RowDeletingName="ZakazTovaraRowDeleting" msprop:Generator_RowChangingName="ZakazTovaraRowChanging" msprop:Generator_RowEvHandlerName="ZakazTovaraRowChangeEventHandler" msprop:Generator_RowDeletedName="ZakazTovaraRowDeleted" msprop:Generator_UserTableName="ZakazTovara" msprop:Generator_RowChangedName="ZakazTovaraRowChanged" msprop:Generator_RowEvArgName="ZakazTovaraRowChangeEvent" msprop:Generator_RowClassName="ZakazTovaraRow">
  738. <xs:complexType>
  739. <xs:sequence>
  740. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  741. <xs:element name="nomerZakaz" msprop:Generator_ColumnVarNameInTable="columnnomerZakaz" msprop:Generator_ColumnPropNameInRow="nomerZakaz" msprop:Generator_ColumnPropNameInTable="nomerZakazColumn" msprop:Generator_UserColumnName="nomerZakaz" type="xs:int" minOccurs="0" />
  742. <xs:element name="nameTovar" msprop:Generator_ColumnVarNameInTable="columnnameTovar" msprop:Generator_ColumnPropNameInRow="nameTovar" msprop:Generator_ColumnPropNameInTable="nameTovarColumn" msprop:Generator_UserColumnName="nameTovar" minOccurs="0">
  743. <xs:simpleType>
  744. <xs:restriction base="xs:string">
  745. <xs:maxLength value="10" />
  746. </xs:restriction>
  747. </xs:simpleType>
  748. </xs:element>
  749. <xs:element name="kolichestvo" msprop:Generator_ColumnVarNameInTable="columnkolichestvo" msprop:Generator_ColumnPropNameInRow="kolichestvo" msprop:Generator_ColumnPropNameInTable="kolichestvoColumn" msprop:Generator_UserColumnName="kolichestvo" minOccurs="0">
  750. <xs:simpleType>
  751. <xs:restriction base="xs:string">
  752. <xs:maxLength value="10" />
  753. </xs:restriction>
  754. </xs:simpleType>
  755. </xs:element>
  756. <xs:element name="id_punkt" msprop:Generator_ColumnVarNameInTable="columnid_punkt" msprop:Generator_ColumnPropNameInRow="id_punkt" msprop:Generator_ColumnPropNameInTable="id_punktColumn" msprop:Generator_UserColumnName="id_punkt" type="xs:int" minOccurs="0" />
  757. </xs:sequence>
  758. </xs:complexType>
  759. </xs:element>
  760. <xs:element name="ПунктВыдачи" msprop:Generator_TableClassName="ПунктВыдачиDataTable" msprop:Generator_TableVarName="tableПунктВыдачи" msprop:Generator_TablePropName="ПунктВыдачи" msprop:Generator_RowDeletingName="ПунктВыдачиRowDeleting" msprop:Generator_RowChangingName="ПунктВыдачиRowChanging" msprop:Generator_RowEvHandlerName="ПунктВыдачиRowChangeEventHandler" msprop:Generator_RowDeletedName="ПунктВыдачиRowDeleted" msprop:Generator_UserTableName="ПунктВыдачи" msprop:Generator_RowChangedName="ПунктВыдачиRowChanged" msprop:Generator_RowEvArgName="ПунктВыдачиRowChangeEvent" msprop:Generator_RowClassName="ПунктВыдачиRow">
  761. <xs:complexType>
  762. <xs:sequence>
  763. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  764. <xs:element name="Идентификатор" msprop:Generator_ColumnVarNameInTable="columnИдентификатор" msprop:Generator_ColumnPropNameInRow="Идентификатор" msprop:Generator_ColumnPropNameInTable="ИдентификаторColumn" msprop:Generator_UserColumnName="Идентификатор" type="xs:int" />
  765. <xs:element name="Город" msprop:Generator_ColumnVarNameInTable="columnГород" msprop:Generator_ColumnPropNameInRow="Город" msprop:Generator_ColumnPropNameInTable="ГородColumn" msprop:Generator_UserColumnName="Город">
  766. <xs:simpleType>
  767. <xs:restriction base="xs:string">
  768. <xs:maxLength value="50" />
  769. </xs:restriction>
  770. </xs:simpleType>
  771. </xs:element>
  772. <xs:element name="Улица" msprop:Generator_ColumnVarNameInTable="columnУлица" msprop:Generator_ColumnPropNameInRow="Улица" msprop:Generator_ColumnPropNameInTable="УлицаColumn" msprop:Generator_UserColumnName="Улица">
  773. <xs:simpleType>
  774. <xs:restriction base="xs:string">
  775. <xs:maxLength value="50" />
  776. </xs:restriction>
  777. </xs:simpleType>
  778. </xs:element>
  779. <xs:element name="Дом" msprop:Generator_ColumnVarNameInTable="columnДом" msprop:Generator_ColumnPropNameInRow="Дом" msprop:Generator_ColumnPropNameInTable="ДомColumn" msprop:Generator_UserColumnName="Дом" type="xs:int" minOccurs="0" />
  780. </xs:sequence>
  781. </xs:complexType>
  782. </xs:element>
  783. </xs:choice>
  784. </xs:complexType>
  785. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  786. <xs:selector xpath=".//mstns:Order" />
  787. <xs:field xpath="mstns:OrderID" />
  788. </xs:unique>
  789. <xs:unique name="OrdersProdukts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  790. <xs:selector xpath=".//mstns:OrdersProdukts" />
  791. <xs:field xpath="mstns:OrderID" />
  792. </xs:unique>
  793. <xs:unique name="Prodykt_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  794. <xs:selector xpath=".//mstns:Prodykt" />
  795. <xs:field xpath="mstns:ArticleNumber" />
  796. </xs:unique>
  797. <xs:unique name="Role_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  798. <xs:selector xpath=".//mstns:Role" />
  799. <xs:field xpath="mstns:RoleID" />
  800. </xs:unique>
  801. <xs:unique name="Users1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  802. <xs:selector xpath=".//mstns:Users1" />
  803. <xs:field xpath="mstns:id" />
  804. </xs:unique>
  805. <xs:unique name="Zakaz_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  806. <xs:selector xpath=".//mstns:Zakaz" />
  807. <xs:field xpath="mstns:id" />
  808. </xs:unique>
  809. <xs:unique name="ZakazTovara_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  810. <xs:selector xpath=".//mstns:ZakazTovara" />
  811. <xs:field xpath="mstns:id" />
  812. </xs:unique>
  813. <xs:unique name="ПунктВыдачи_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  814. <xs:selector xpath=".//mstns:ПунктВыдачи" />
  815. <xs:field xpath="mstns:id" />
  816. </xs:unique>
  817. </xs:element>
  818. <xs:annotation>
  819. <xs:appinfo>
  820. <msdata:Relationship name="FK_OrdersProdukts_Order" msdata:parent="Order" msdata:child="OrdersProdukts" msdata:parentkey="OrderID" msdata:childkey="OrderID" msprop:Generator_UserChildTable="OrdersProdukts" msprop:Generator_ChildPropName="GetOrdersProduktsRows" msprop:Generator_UserRelationName="FK_OrdersProdukts_Order" msprop:Generator_ParentPropName="OrderRow" msprop:Generator_RelationVarName="relationFK_OrdersProdukts_Order" msprop:Generator_UserParentTable="Order" />
  821. <msdata:Relationship name="FK_Prodykt_OrdersProdukts" msdata:parent="OrdersProdukts" msdata:child="Prodykt" msdata:parentkey="OrderID" msdata:childkey="OrderID" msprop:Generator_UserChildTable="Prodykt" msprop:Generator_ChildPropName="GetProdyktRows" msprop:Generator_UserRelationName="FK_Prodykt_OrdersProdukts" msprop:Generator_ParentPropName="OrdersProduktsRow" msprop:Generator_RelationVarName="relationFK_Prodykt_OrdersProdukts" msprop:Generator_UserParentTable="OrdersProdukts" />
  822. <msdata:Relationship name="FK_Role_Users1" msdata:parent="Users1" msdata:child="Role" msdata:parentkey="id" msdata:childkey="RoleID" msprop:Generator_UserChildTable="Role" msprop:Generator_ChildPropName="GetRoleRows" msprop:Generator_UserRelationName="FK_Role_Users1" msprop:Generator_RelationVarName="relationFK_Role_Users1" msprop:Generator_UserParentTable="Users1" msprop:Generator_ParentPropName="Users1Row" />
  823. <msdata:Relationship name="FK_ZakazTovara_Zakaz" msdata:parent="Zakaz" msdata:child="ZakazTovara" msdata:parentkey="id" msdata:childkey="nomerZakaz" msprop:Generator_UserChildTable="ZakazTovara" msprop:Generator_ChildPropName="GetZakazTovaraRows" msprop:Generator_UserRelationName="FK_ZakazTovara_Zakaz" msprop:Generator_ParentPropName="ZakazRow" msprop:Generator_RelationVarName="relationFK_ZakazTovara_Zakaz" msprop:Generator_UserParentTable="Zakaz" />
  824. <msdata:Relationship name="FK_ZakazTovara_ПунктВыдачи" msdata:parent="ПунктВыдачи" msdata:child="ZakazTovara" msdata:parentkey="id" msdata:childkey="id_punkt" msprop:Generator_UserChildTable="ZakazTovara" msprop:Generator_ChildPropName="GetZakazTovaraRows" msprop:Generator_UserRelationName="FK_ZakazTovara_ПунктВыдачи" msprop:Generator_RelationVarName="relationFK_ZakazTovara_ПунктВыдачи" msprop:Generator_UserParentTable="ПунктВыдачи" msprop:Generator_ParentPropName="ПунктВыдачиRow" />
  825. </xs:appinfo>
  826. </xs:annotation>
  827. </xs:schema>