dbFabrika2024DataSet.xsd 96 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="dbFabrika2024DataSet" targetNamespace="http://tempuri.org/dbFabrika2024DataSet.xsd" xmlns:mstns="http://tempuri.org/dbFabrika2024DataSet.xsd" xmlns="http://tempuri.org/dbFabrika2024DataSet.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="dbFabrika2024ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dbFabrika2024ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Фабрика.Properties.Settings.GlobalReference.Default.dbFabrika2024ConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CvetaTableAdapter" GeneratorDataComponentClassName="CvetaTableAdapter" Name="Cveta" UserDataComponentName="CvetaTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="dbFabrika2024ConnectionString (Settings)" DbObjectName="dbFabrika2024.dbo.Cveta" 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].[Cveta] WHERE (([id_cvet] = @Original_id_cvet))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_cvet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_cvet" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. </Parameters>
  19. </DbCommand>
  20. </DeleteCommand>
  21. <InsertCommand>
  22. <DbCommand CommandType="Text" ModifiedByUser="false">
  23. <CommandText>INSERT INTO [dbo].[Cveta] ([Name_cvet]) VALUES (@Name_cvet);
  24. SELECT id_cvet, Name_cvet FROM Cveta WHERE (id_cvet = SCOPE_IDENTITY())</CommandText>
  25. <Parameters>
  26. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name_cvet" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_cvet" SourceColumnNullMapping="false" SourceVersion="Current" />
  27. </Parameters>
  28. </DbCommand>
  29. </InsertCommand>
  30. <SelectCommand>
  31. <DbCommand CommandType="Text" ModifiedByUser="false">
  32. <CommandText>SELECT id_cvet, Name_cvet FROM dbo.Cveta</CommandText>
  33. <Parameters />
  34. </DbCommand>
  35. </SelectCommand>
  36. <UpdateCommand>
  37. <DbCommand CommandType="Text" ModifiedByUser="false">
  38. <CommandText>UPDATE [dbo].[Cveta] SET [Name_cvet] = @Name_cvet WHERE (([id_cvet] = @Original_id_cvet));
  39. SELECT id_cvet, Name_cvet FROM Cveta WHERE (id_cvet = @id_cvet)</CommandText>
  40. <Parameters>
  41. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name_cvet" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_cvet" SourceColumnNullMapping="false" SourceVersion="Current" />
  42. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_cvet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_cvet" SourceColumnNullMapping="false" SourceVersion="Original" />
  43. <Parameter AllowDbNull="false" AutogeneratedName="id_cvet" ColumnName="id_cvet" DataSourceName="dbFabrika2024.dbo.Cveta" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_cvet" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_cvet" SourceColumnNullMapping="false" SourceVersion="Current" />
  44. </Parameters>
  45. </DbCommand>
  46. </UpdateCommand>
  47. </DbSource>
  48. </MainSource>
  49. <Mappings>
  50. <Mapping SourceColumn="id_cvet" DataSetColumn="id_cvet" />
  51. <Mapping SourceColumn="Name_cvet" DataSetColumn="Name_cvet" />
  52. </Mappings>
  53. <Sources />
  54. </TableAdapter>
  55. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FurnituraTableAdapter" GeneratorDataComponentClassName="FurnituraTableAdapter" Name="Furnitura" UserDataComponentName="FurnituraTableAdapter">
  56. <MainSource>
  57. <DbSource ConnectionRef="dbFabrika2024ConnectionString (Settings)" DbObjectName="dbFabrika2024.dbo.Furnitura" 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">
  58. <DeleteCommand>
  59. <DbCommand CommandType="Text" ModifiedByUser="false">
  60. <CommandText>DELETE FROM [dbo].[Furnitura] WHERE (([idfur] = @Original_idfur) AND ((@IsNull_namefur = 1 AND [namefur] IS NULL) OR ([namefur] = @Original_namefur)) AND ((@IsNull_countfur = 1 AND [countfur] IS NULL) OR ([countfur] = @Original_countfur)))</CommandText>
  61. <Parameters>
  62. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Original" />
  63. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_namefur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="namefur" SourceColumnNullMapping="true" SourceVersion="Original" />
  64. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_namefur" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="namefur" SourceColumnNullMapping="false" SourceVersion="Original" />
  65. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_countfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countfur" SourceColumnNullMapping="true" SourceVersion="Original" />
  66. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_countfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countfur" SourceColumnNullMapping="false" SourceVersion="Original" />
  67. </Parameters>
  68. </DbCommand>
  69. </DeleteCommand>
  70. <InsertCommand>
  71. <DbCommand CommandType="Text" ModifiedByUser="false">
  72. <CommandText>INSERT INTO [dbo].[Furnitura] ([namefur], [photo], [countfur]) VALUES (@namefur, @photo, @countfur);
  73. SELECT idfur, namefur, photo, countfur FROM Furnitura WHERE (idfur = SCOPE_IDENTITY())</CommandText>
  74. <Parameters>
  75. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@namefur" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="namefur" SourceColumnNullMapping="false" SourceVersion="Current" />
  76. <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" />
  77. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@countfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countfur" SourceColumnNullMapping="false" SourceVersion="Current" />
  78. </Parameters>
  79. </DbCommand>
  80. </InsertCommand>
  81. <SelectCommand>
  82. <DbCommand CommandType="Text" ModifiedByUser="false">
  83. <CommandText>SELECT idfur, namefur, photo, countfur FROM dbo.Furnitura</CommandText>
  84. <Parameters />
  85. </DbCommand>
  86. </SelectCommand>
  87. <UpdateCommand>
  88. <DbCommand CommandType="Text" ModifiedByUser="false">
  89. <CommandText>UPDATE [dbo].[Furnitura] SET [namefur] = @namefur, [photo] = @photo, [countfur] = @countfur WHERE (([idfur] = @Original_idfur) AND ((@IsNull_namefur = 1 AND [namefur] IS NULL) OR ([namefur] = @Original_namefur)) AND ((@IsNull_countfur = 1 AND [countfur] IS NULL) OR ([countfur] = @Original_countfur)));
  90. SELECT idfur, namefur, photo, countfur FROM Furnitura WHERE (idfur = @idfur)</CommandText>
  91. <Parameters>
  92. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@namefur" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="namefur" SourceColumnNullMapping="false" SourceVersion="Current" />
  93. <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" />
  94. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@countfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countfur" SourceColumnNullMapping="false" SourceVersion="Current" />
  95. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Original" />
  96. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_namefur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="namefur" SourceColumnNullMapping="true" SourceVersion="Original" />
  97. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_namefur" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="namefur" SourceColumnNullMapping="false" SourceVersion="Original" />
  98. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_countfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countfur" SourceColumnNullMapping="true" SourceVersion="Original" />
  99. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_countfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countfur" SourceColumnNullMapping="false" SourceVersion="Original" />
  100. <Parameter AllowDbNull="false" AutogeneratedName="idfur" ColumnName="idfur" DataSourceName="dbFabrika2024.dbo.Furnitura" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idfur" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Current" />
  101. </Parameters>
  102. </DbCommand>
  103. </UpdateCommand>
  104. </DbSource>
  105. </MainSource>
  106. <Mappings>
  107. <Mapping SourceColumn="idfur" DataSetColumn="idfur" />
  108. <Mapping SourceColumn="namefur" DataSetColumn="namefur" />
  109. <Mapping SourceColumn="photo" DataSetColumn="photo" />
  110. <Mapping SourceColumn="countfur" DataSetColumn="countfur" />
  111. </Mappings>
  112. <Sources />
  113. </TableAdapter>
  114. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="IzdelieTableAdapter" GeneratorDataComponentClassName="IzdelieTableAdapter" Name="Izdelie" UserDataComponentName="IzdelieTableAdapter">
  115. <MainSource>
  116. <DbSource ConnectionRef="dbFabrika2024ConnectionString (Settings)" DbObjectName="dbFabrika2024.dbo.Izdelie" 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">
  117. <DeleteCommand>
  118. <DbCommand CommandType="Text" ModifiedByUser="false">
  119. <CommandText>DELETE FROM [dbo].[Izdelie] WHERE (([id_izdelie] = @Original_id_izdelie) AND ((@IsNull_Name_izd = 1 AND [Name_izd] IS NULL) OR ([Name_izd] = @Original_Name_izd)) AND ((@IsNull_length = 1 AND [length] IS NULL) OR ([length] = @Original_length)) AND ((@IsNull_width = 1 AND [width] IS NULL) OR ([width] = @Original_width)))</CommandText>
  120. <Parameters>
  121. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_izdelie" SourceColumnNullMapping="false" SourceVersion="Original" />
  122. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name_izd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name_izd" SourceColumnNullMapping="true" SourceVersion="Original" />
  123. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name_izd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_izd" SourceColumnNullMapping="false" SourceVersion="Original" />
  124. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="length" SourceColumnNullMapping="true" SourceVersion="Original" />
  125. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="length" SourceColumnNullMapping="false" SourceVersion="Original" />
  126. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="width" SourceColumnNullMapping="true" SourceVersion="Original" />
  127. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="width" SourceColumnNullMapping="false" SourceVersion="Original" />
  128. </Parameters>
  129. </DbCommand>
  130. </DeleteCommand>
  131. <InsertCommand>
  132. <DbCommand CommandType="Text" ModifiedByUser="false">
  133. <CommandText>INSERT INTO [dbo].[Izdelie] ([Name_izd], [length], [width]) VALUES (@Name_izd, @length, @width);
  134. SELECT id_izdelie, Name_izd, length, width FROM Izdelie WHERE (id_izdelie = SCOPE_IDENTITY())</CommandText>
  135. <Parameters>
  136. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name_izd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_izd" SourceColumnNullMapping="false" SourceVersion="Current" />
  137. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="length" SourceColumnNullMapping="false" SourceVersion="Current" />
  138. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="width" SourceColumnNullMapping="false" SourceVersion="Current" />
  139. </Parameters>
  140. </DbCommand>
  141. </InsertCommand>
  142. <SelectCommand>
  143. <DbCommand CommandType="Text" ModifiedByUser="false">
  144. <CommandText>SELECT id_izdelie, Name_izd, length, width FROM dbo.Izdelie</CommandText>
  145. <Parameters />
  146. </DbCommand>
  147. </SelectCommand>
  148. <UpdateCommand>
  149. <DbCommand CommandType="Text" ModifiedByUser="false">
  150. <CommandText>UPDATE [dbo].[Izdelie] SET [Name_izd] = @Name_izd, [length] = @length, [width] = @width WHERE (([id_izdelie] = @Original_id_izdelie) AND ((@IsNull_Name_izd = 1 AND [Name_izd] IS NULL) OR ([Name_izd] = @Original_Name_izd)) AND ((@IsNull_length = 1 AND [length] IS NULL) OR ([length] = @Original_length)) AND ((@IsNull_width = 1 AND [width] IS NULL) OR ([width] = @Original_width)));
  151. SELECT id_izdelie, Name_izd, length, width FROM Izdelie WHERE (id_izdelie = @id_izdelie)</CommandText>
  152. <Parameters>
  153. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name_izd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_izd" SourceColumnNullMapping="false" SourceVersion="Current" />
  154. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="length" SourceColumnNullMapping="false" SourceVersion="Current" />
  155. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="width" SourceColumnNullMapping="false" SourceVersion="Current" />
  156. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_izdelie" SourceColumnNullMapping="false" SourceVersion="Original" />
  157. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name_izd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name_izd" SourceColumnNullMapping="true" SourceVersion="Original" />
  158. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name_izd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_izd" SourceColumnNullMapping="false" SourceVersion="Original" />
  159. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="length" SourceColumnNullMapping="true" SourceVersion="Original" />
  160. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_length" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="length" SourceColumnNullMapping="false" SourceVersion="Original" />
  161. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="width" SourceColumnNullMapping="true" SourceVersion="Original" />
  162. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="width" SourceColumnNullMapping="false" SourceVersion="Original" />
  163. <Parameter AllowDbNull="false" AutogeneratedName="id_izdelie" ColumnName="id_izdelie" DataSourceName="dbFabrika2024.dbo.Izdelie" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_izdelie" SourceColumnNullMapping="false" SourceVersion="Current" />
  164. </Parameters>
  165. </DbCommand>
  166. </UpdateCommand>
  167. </DbSource>
  168. </MainSource>
  169. <Mappings>
  170. <Mapping SourceColumn="id_izdelie" DataSetColumn="id_izdelie" />
  171. <Mapping SourceColumn="Name_izd" DataSetColumn="Name_izd" />
  172. <Mapping SourceColumn="length" DataSetColumn="length" />
  173. <Mapping SourceColumn="width" DataSetColumn="width" />
  174. </Mappings>
  175. <Sources />
  176. </TableAdapter>
  177. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrdersTableAdapter" GeneratorDataComponentClassName="OrdersTableAdapter" Name="Orders" UserDataComponentName="OrdersTableAdapter">
  178. <MainSource>
  179. <DbSource ConnectionRef="dbFabrika2024ConnectionString (Settings)" DbObjectName="dbFabrika2024.dbo.Orders" 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">
  180. <DeleteCommand>
  181. <DbCommand CommandType="Text" ModifiedByUser="false">
  182. <CommandText>DELETE FROM [dbo].[Orders] WHERE (([id_order] = @Original_id_order) AND ((@IsNull_id_izdelie = 1 AND [id_izdelie] IS NULL) OR ([id_izdelie] = @Original_id_izdelie)) AND ((@IsNull_id_zakaz = 1 AND [id_zakaz] IS NULL) OR ([id_zakaz] = @Original_id_zakaz)) AND ((@IsNull_id_manager = 1 AND [id_manager] IS NULL) OR ([id_manager] = @Original_id_manager)) AND ((@IsNull_id_tkani = 1 AND [id_tkani] IS NULL) OR ([id_tkani] = @Original_id_tkani)) AND ((@IsNull_id_furnitur = 1 AND [id_furnitur] IS NULL) OR ([id_furnitur] = @Original_id_furnitur)) AND ((@IsNull_CountFurnit = 1 AND [CountFurnit] IS NULL) OR ([CountFurnit] = @Original_CountFurnit)) AND ((@IsNull_CountIzdel = 1 AND [CountIzdel] IS NULL) OR ([CountIzdel] = @Original_CountIzdel)))</CommandText>
  183. <Parameters>
  184. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_order" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_order" SourceColumnNullMapping="false" SourceVersion="Original" />
  185. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_izdelie" SourceColumnNullMapping="true" SourceVersion="Original" />
  186. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_izdelie" SourceColumnNullMapping="false" SourceVersion="Original" />
  187. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_zakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_zakaz" SourceColumnNullMapping="true" SourceVersion="Original" />
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_zakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_zakaz" SourceColumnNullMapping="false" SourceVersion="Original" />
  189. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_manager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_manager" SourceColumnNullMapping="true" SourceVersion="Original" />
  190. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_manager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_manager" SourceColumnNullMapping="false" SourceVersion="Original" />
  191. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_tkani" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_tkani" SourceColumnNullMapping="true" SourceVersion="Original" />
  192. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_tkani" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_tkani" SourceColumnNullMapping="false" SourceVersion="Original" />
  193. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_furnitur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_furnitur" SourceColumnNullMapping="true" SourceVersion="Original" />
  194. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_furnitur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_furnitur" SourceColumnNullMapping="false" SourceVersion="Original" />
  195. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CountFurnit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnit" SourceColumnNullMapping="true" SourceVersion="Original" />
  196. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CountFurnit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnit" SourceColumnNullMapping="false" SourceVersion="Original" />
  197. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CountIzdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountIzdel" SourceColumnNullMapping="true" SourceVersion="Original" />
  198. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CountIzdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountIzdel" SourceColumnNullMapping="false" SourceVersion="Original" />
  199. </Parameters>
  200. </DbCommand>
  201. </DeleteCommand>
  202. <InsertCommand>
  203. <DbCommand CommandType="Text" ModifiedByUser="false">
  204. <CommandText>INSERT INTO [dbo].[Orders] ([id_izdelie], [id_zakaz], [id_manager], [id_tkani], [id_furnitur], [CountFurnit], [CountIzdel]) VALUES (@id_izdelie, @id_zakaz, @id_manager, @id_tkani, @id_furnitur, @CountFurnit, @CountIzdel);
  205. SELECT id_order, id_izdelie, id_zakaz, id_manager, id_tkani, id_furnitur, CountFurnit, CountIzdel FROM Orders WHERE (id_order = SCOPE_IDENTITY())</CommandText>
  206. <Parameters>
  207. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_izdelie" SourceColumnNullMapping="false" SourceVersion="Current" />
  208. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_zakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_zakaz" SourceColumnNullMapping="false" SourceVersion="Current" />
  209. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_manager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_manager" SourceColumnNullMapping="false" SourceVersion="Current" />
  210. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_tkani" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_tkani" SourceColumnNullMapping="false" SourceVersion="Current" />
  211. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_furnitur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_furnitur" SourceColumnNullMapping="false" SourceVersion="Current" />
  212. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CountFurnit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnit" SourceColumnNullMapping="false" SourceVersion="Current" />
  213. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CountIzdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountIzdel" SourceColumnNullMapping="false" SourceVersion="Current" />
  214. </Parameters>
  215. </DbCommand>
  216. </InsertCommand>
  217. <SelectCommand>
  218. <DbCommand CommandType="Text" ModifiedByUser="false">
  219. <CommandText>SELECT id_order, id_izdelie, id_zakaz, id_manager, id_tkani, id_furnitur, CountFurnit, CountIzdel FROM dbo.Orders</CommandText>
  220. <Parameters />
  221. </DbCommand>
  222. </SelectCommand>
  223. <UpdateCommand>
  224. <DbCommand CommandType="Text" ModifiedByUser="false">
  225. <CommandText>UPDATE [dbo].[Orders] SET [id_izdelie] = @id_izdelie, [id_zakaz] = @id_zakaz, [id_manager] = @id_manager, [id_tkani] = @id_tkani, [id_furnitur] = @id_furnitur, [CountFurnit] = @CountFurnit, [CountIzdel] = @CountIzdel WHERE (([id_order] = @Original_id_order) AND ((@IsNull_id_izdelie = 1 AND [id_izdelie] IS NULL) OR ([id_izdelie] = @Original_id_izdelie)) AND ((@IsNull_id_zakaz = 1 AND [id_zakaz] IS NULL) OR ([id_zakaz] = @Original_id_zakaz)) AND ((@IsNull_id_manager = 1 AND [id_manager] IS NULL) OR ([id_manager] = @Original_id_manager)) AND ((@IsNull_id_tkani = 1 AND [id_tkani] IS NULL) OR ([id_tkani] = @Original_id_tkani)) AND ((@IsNull_id_furnitur = 1 AND [id_furnitur] IS NULL) OR ([id_furnitur] = @Original_id_furnitur)) AND ((@IsNull_CountFurnit = 1 AND [CountFurnit] IS NULL) OR ([CountFurnit] = @Original_CountFurnit)) AND ((@IsNull_CountIzdel = 1 AND [CountIzdel] IS NULL) OR ([CountIzdel] = @Original_CountIzdel)));
  226. SELECT id_order, id_izdelie, id_zakaz, id_manager, id_tkani, id_furnitur, CountFurnit, CountIzdel FROM Orders WHERE (id_order = @id_order)</CommandText>
  227. <Parameters>
  228. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_izdelie" SourceColumnNullMapping="false" SourceVersion="Current" />
  229. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_zakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_zakaz" SourceColumnNullMapping="false" SourceVersion="Current" />
  230. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_manager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_manager" SourceColumnNullMapping="false" SourceVersion="Current" />
  231. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_tkani" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_tkani" SourceColumnNullMapping="false" SourceVersion="Current" />
  232. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_furnitur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_furnitur" SourceColumnNullMapping="false" SourceVersion="Current" />
  233. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CountFurnit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnit" SourceColumnNullMapping="false" SourceVersion="Current" />
  234. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CountIzdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountIzdel" SourceColumnNullMapping="false" SourceVersion="Current" />
  235. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_order" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_order" SourceColumnNullMapping="false" SourceVersion="Original" />
  236. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_izdelie" SourceColumnNullMapping="true" SourceVersion="Original" />
  237. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_izdelie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_izdelie" SourceColumnNullMapping="false" SourceVersion="Original" />
  238. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_zakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_zakaz" SourceColumnNullMapping="true" SourceVersion="Original" />
  239. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_zakaz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_zakaz" SourceColumnNullMapping="false" SourceVersion="Original" />
  240. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_manager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_manager" SourceColumnNullMapping="true" SourceVersion="Original" />
  241. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_manager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_manager" SourceColumnNullMapping="false" SourceVersion="Original" />
  242. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_tkani" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_tkani" SourceColumnNullMapping="true" SourceVersion="Original" />
  243. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_tkani" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_tkani" SourceColumnNullMapping="false" SourceVersion="Original" />
  244. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_furnitur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_furnitur" SourceColumnNullMapping="true" SourceVersion="Original" />
  245. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_furnitur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_furnitur" SourceColumnNullMapping="false" SourceVersion="Original" />
  246. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CountFurnit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnit" SourceColumnNullMapping="true" SourceVersion="Original" />
  247. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CountFurnit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnit" SourceColumnNullMapping="false" SourceVersion="Original" />
  248. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CountIzdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountIzdel" SourceColumnNullMapping="true" SourceVersion="Original" />
  249. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CountIzdel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountIzdel" SourceColumnNullMapping="false" SourceVersion="Original" />
  250. <Parameter AllowDbNull="false" AutogeneratedName="id_order" ColumnName="id_order" DataSourceName="dbFabrika2024.dbo.Orders" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_order" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_order" SourceColumnNullMapping="false" SourceVersion="Current" />
  251. </Parameters>
  252. </DbCommand>
  253. </UpdateCommand>
  254. </DbSource>
  255. </MainSource>
  256. <Mappings>
  257. <Mapping SourceColumn="id_order" DataSetColumn="id_order" />
  258. <Mapping SourceColumn="id_izdelie" DataSetColumn="id_izdelie" />
  259. <Mapping SourceColumn="id_zakaz" DataSetColumn="id_zakaz" />
  260. <Mapping SourceColumn="id_manager" DataSetColumn="id_manager" />
  261. <Mapping SourceColumn="id_tkani" DataSetColumn="id_tkani" />
  262. <Mapping SourceColumn="id_furnitur" DataSetColumn="id_furnitur" />
  263. <Mapping SourceColumn="CountFurnit" DataSetColumn="CountFurnit" />
  264. <Mapping SourceColumn="CountIzdel" DataSetColumn="CountIzdel" />
  265. </Mappings>
  266. <Sources />
  267. </TableAdapter>
  268. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RoleTableAdapter" GeneratorDataComponentClassName="RoleTableAdapter" Name="Role" UserDataComponentName="RoleTableAdapter">
  269. <MainSource>
  270. <DbSource ConnectionRef="dbFabrika2024ConnectionString (Settings)" DbObjectName="dbFabrika2024.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">
  271. <DeleteCommand>
  272. <DbCommand CommandType="Text" ModifiedByUser="false">
  273. <CommandText>DELETE FROM [dbo].[Role] WHERE (([id_role] = @Original_id_role) AND ((@IsNull_Name_Role = 1 AND [Name_Role] IS NULL) OR ([Name_Role] = @Original_Name_Role)))</CommandText>
  274. <Parameters>
  275. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_role" SourceColumnNullMapping="false" SourceVersion="Original" />
  276. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name_Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name_Role" SourceColumnNullMapping="true" SourceVersion="Original" />
  277. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name_Role" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_Role" SourceColumnNullMapping="false" SourceVersion="Original" />
  278. </Parameters>
  279. </DbCommand>
  280. </DeleteCommand>
  281. <InsertCommand>
  282. <DbCommand CommandType="Text" ModifiedByUser="false">
  283. <CommandText>INSERT INTO [dbo].[Role] ([Name_Role]) VALUES (@Name_Role);
  284. SELECT id_role, Name_Role FROM Role WHERE (id_role = SCOPE_IDENTITY())</CommandText>
  285. <Parameters>
  286. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name_Role" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_Role" SourceColumnNullMapping="false" SourceVersion="Current" />
  287. </Parameters>
  288. </DbCommand>
  289. </InsertCommand>
  290. <SelectCommand>
  291. <DbCommand CommandType="Text" ModifiedByUser="false">
  292. <CommandText>SELECT id_role, Name_Role FROM dbo.Role</CommandText>
  293. <Parameters />
  294. </DbCommand>
  295. </SelectCommand>
  296. <UpdateCommand>
  297. <DbCommand CommandType="Text" ModifiedByUser="false">
  298. <CommandText>UPDATE [dbo].[Role] SET [Name_Role] = @Name_Role WHERE (([id_role] = @Original_id_role) AND ((@IsNull_Name_Role = 1 AND [Name_Role] IS NULL) OR ([Name_Role] = @Original_Name_Role)));
  299. SELECT id_role, Name_Role FROM Role WHERE (id_role = @id_role)</CommandText>
  300. <Parameters>
  301. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name_Role" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_Role" SourceColumnNullMapping="false" SourceVersion="Current" />
  302. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_role" SourceColumnNullMapping="false" SourceVersion="Original" />
  303. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name_Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name_Role" SourceColumnNullMapping="true" SourceVersion="Original" />
  304. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name_Role" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name_Role" SourceColumnNullMapping="false" SourceVersion="Original" />
  305. <Parameter AllowDbNull="false" AutogeneratedName="id_role" ColumnName="id_role" DataSourceName="dbFabrika2024.dbo.Role" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_role" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_role" SourceColumnNullMapping="false" SourceVersion="Current" />
  306. </Parameters>
  307. </DbCommand>
  308. </UpdateCommand>
  309. </DbSource>
  310. </MainSource>
  311. <Mappings>
  312. <Mapping SourceColumn="id_role" DataSetColumn="id_role" />
  313. <Mapping SourceColumn="Name_Role" DataSetColumn="Name_Role" />
  314. </Mappings>
  315. <Sources />
  316. </TableAdapter>
  317. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TkaniTableAdapter" GeneratorDataComponentClassName="TkaniTableAdapter" Name="Tkani" UserDataComponentName="TkaniTableAdapter">
  318. <MainSource>
  319. <DbSource ConnectionRef="dbFabrika2024ConnectionString (Settings)" DbObjectName="dbFabrika2024.dbo.Tkani" 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">
  320. <DeleteCommand>
  321. <DbCommand CommandType="Text" ModifiedByUser="false">
  322. <CommandText>DELETE FROM [dbo].[Tkani] WHERE (([Id_Tkani] = @Original_Id_Tkani) AND ([id_cvet] = @Original_id_cvet) AND ((@IsNull_Shirina = 1 AND [Shirina] IS NULL) OR ([Shirina] = @Original_Shirina)) AND ((@IsNull_Dlina = 1 AND [Dlina] IS NULL) OR ([Dlina] = @Original_Dlina)))</CommandText>
  323. <Parameters>
  324. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id_Tkani" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id_Tkani" SourceColumnNullMapping="false" SourceVersion="Original" />
  325. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_cvet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_cvet" SourceColumnNullMapping="false" SourceVersion="Original" />
  326. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Shirina" SourceColumnNullMapping="true" SourceVersion="Original" />
  327. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Shirina" SourceColumnNullMapping="false" SourceVersion="Original" />
  328. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dlina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlina" SourceColumnNullMapping="true" SourceVersion="Original" />
  329. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Dlina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlina" SourceColumnNullMapping="false" SourceVersion="Original" />
  330. </Parameters>
  331. </DbCommand>
  332. </DeleteCommand>
  333. <InsertCommand>
  334. <DbCommand CommandType="Text" ModifiedByUser="false">
  335. <CommandText>INSERT INTO [dbo].[Tkani] ([Nazvanie], [id_cvet], [Shirina], [Dlina], [Primechanie], [Photo]) VALUES (@Nazvanie, @id_cvet, @Shirina, @Dlina, @Primechanie, @Photo);
  336. SELECT Id_Tkani, Nazvanie, id_cvet, Shirina, Dlina, Primechanie, Photo FROM Tkani WHERE (Id_Tkani = SCOPE_IDENTITY())</CommandText>
  337. <Parameters>
  338. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazvanie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazvanie" SourceColumnNullMapping="false" SourceVersion="Current" />
  339. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_cvet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_cvet" SourceColumnNullMapping="false" SourceVersion="Current" />
  340. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Shirina" SourceColumnNullMapping="false" SourceVersion="Current" />
  341. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Dlina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlina" SourceColumnNullMapping="false" SourceVersion="Current" />
  342. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Primechanie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Primechanie" SourceColumnNullMapping="false" SourceVersion="Current" />
  343. <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" />
  344. </Parameters>
  345. </DbCommand>
  346. </InsertCommand>
  347. <SelectCommand>
  348. <DbCommand CommandType="Text" ModifiedByUser="false">
  349. <CommandText>SELECT Id_Tkani, Nazvanie, id_cvet, Shirina, Dlina, Primechanie, Photo FROM dbo.Tkani</CommandText>
  350. <Parameters />
  351. </DbCommand>
  352. </SelectCommand>
  353. <UpdateCommand>
  354. <DbCommand CommandType="Text" ModifiedByUser="false">
  355. <CommandText>UPDATE [dbo].[Tkani] SET [Nazvanie] = @Nazvanie, [id_cvet] = @id_cvet, [Shirina] = @Shirina, [Dlina] = @Dlina, [Primechanie] = @Primechanie, [Photo] = @Photo WHERE (([Id_Tkani] = @Original_Id_Tkani) AND ([id_cvet] = @Original_id_cvet) AND ((@IsNull_Shirina = 1 AND [Shirina] IS NULL) OR ([Shirina] = @Original_Shirina)) AND ((@IsNull_Dlina = 1 AND [Dlina] IS NULL) OR ([Dlina] = @Original_Dlina)));
  356. SELECT Id_Tkani, Nazvanie, id_cvet, Shirina, Dlina, Primechanie, Photo FROM Tkani WHERE (Id_Tkani = @Id_Tkani)</CommandText>
  357. <Parameters>
  358. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazvanie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazvanie" SourceColumnNullMapping="false" SourceVersion="Current" />
  359. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_cvet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_cvet" SourceColumnNullMapping="false" SourceVersion="Current" />
  360. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Shirina" SourceColumnNullMapping="false" SourceVersion="Current" />
  361. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Dlina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlina" SourceColumnNullMapping="false" SourceVersion="Current" />
  362. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Primechanie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Primechanie" SourceColumnNullMapping="false" SourceVersion="Current" />
  363. <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" />
  364. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id_Tkani" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id_Tkani" SourceColumnNullMapping="false" SourceVersion="Original" />
  365. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_cvet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_cvet" SourceColumnNullMapping="false" SourceVersion="Original" />
  366. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Shirina" SourceColumnNullMapping="true" SourceVersion="Original" />
  367. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Shirina" SourceColumnNullMapping="false" SourceVersion="Original" />
  368. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dlina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlina" SourceColumnNullMapping="true" SourceVersion="Original" />
  369. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Dlina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlina" SourceColumnNullMapping="false" SourceVersion="Original" />
  370. <Parameter AllowDbNull="false" AutogeneratedName="Id_Tkani" ColumnName="Id_Tkani" DataSourceName="dbFabrika2024.dbo.Tkani" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id_Tkani" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id_Tkani" SourceColumnNullMapping="false" SourceVersion="Current" />
  371. </Parameters>
  372. </DbCommand>
  373. </UpdateCommand>
  374. </DbSource>
  375. </MainSource>
  376. <Mappings>
  377. <Mapping SourceColumn="Id_Tkani" DataSetColumn="Id_Tkani" />
  378. <Mapping SourceColumn="Nazvanie" DataSetColumn="Nazvanie" />
  379. <Mapping SourceColumn="id_cvet" DataSetColumn="id_cvet" />
  380. <Mapping SourceColumn="Shirina" DataSetColumn="Shirina" />
  381. <Mapping SourceColumn="Dlina" DataSetColumn="Dlina" />
  382. <Mapping SourceColumn="Primechanie" DataSetColumn="Primechanie" />
  383. <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
  384. </Mappings>
  385. <Sources />
  386. </TableAdapter>
  387. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
  388. <MainSource>
  389. <DbSource ConnectionRef="dbFabrika2024ConnectionString (Settings)" DbObjectName="dbFabrika2024.dbo.Users" 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">
  390. <DeleteCommand>
  391. <DbCommand CommandType="Text" ModifiedByUser="false">
  392. <CommandText>DELETE FROM [dbo].[Users] WHERE (([Id_user] = @Original_Id_user) AND ((@IsNull_login = 1 AND [login] IS NULL) OR ([login] = @Original_login)) AND ((@IsNull_Passw = 1 AND [Passw] IS NULL) OR ([Passw] = @Original_Passw)) AND ((@IsNull_id_role = 1 AND [id_role] IS NULL) OR ([id_role] = @Original_id_role)) AND ((@IsNull_Surname = 1 AND [Surname] IS NULL) OR ([Surname] = @Original_Surname)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Otch = 1 AND [Otch] IS NULL) OR ([Otch] = @Original_Otch)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)))</CommandText>
  393. <Parameters>
  394. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id_user" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id_user" SourceColumnNullMapping="false" SourceVersion="Original" />
  395. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_login" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="true" SourceVersion="Original" />
  396. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Original" />
  397. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Passw" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Passw" SourceColumnNullMapping="true" SourceVersion="Original" />
  398. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Passw" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Passw" SourceColumnNullMapping="false" SourceVersion="Original" />
  399. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_role" SourceColumnNullMapping="true" SourceVersion="Original" />
  400. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_role" SourceColumnNullMapping="false" SourceVersion="Original" />
  401. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Surname" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="true" SourceVersion="Original" />
  402. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Original" />
  403. <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" />
  404. <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" />
  405. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Otch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Otch" SourceColumnNullMapping="true" SourceVersion="Original" />
  406. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Otch" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Otch" SourceColumnNullMapping="false" SourceVersion="Original" />
  407. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="true" SourceVersion="Original" />
  408. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
  409. </Parameters>
  410. </DbCommand>
  411. </DeleteCommand>
  412. <InsertCommand>
  413. <DbCommand CommandType="Text" ModifiedByUser="false">
  414. <CommandText>INSERT INTO [dbo].[Users] ([login], [Passw], [id_role], [Surname], [Name], [Otch], [Phone]) VALUES (@login, @Passw, @id_role, @Surname, @Name, @Otch, @Phone);
  415. SELECT Id_user, login, Passw, id_role, Surname, Name, Otch, Phone FROM Users WHERE (Id_user = SCOPE_IDENTITY())</CommandText>
  416. <Parameters>
  417. <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" />
  418. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Passw" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Passw" SourceColumnNullMapping="false" SourceVersion="Current" />
  419. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_role" SourceColumnNullMapping="false" SourceVersion="Current" />
  420. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Current" />
  421. <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" />
  422. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Otch" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Otch" SourceColumnNullMapping="false" SourceVersion="Current" />
  423. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
  424. </Parameters>
  425. </DbCommand>
  426. </InsertCommand>
  427. <SelectCommand>
  428. <DbCommand CommandType="Text" ModifiedByUser="false">
  429. <CommandText>SELECT Id_user, login, Passw, id_role, Surname, Name, Otch, Phone FROM dbo.Users</CommandText>
  430. <Parameters />
  431. </DbCommand>
  432. </SelectCommand>
  433. <UpdateCommand>
  434. <DbCommand CommandType="Text" ModifiedByUser="false">
  435. <CommandText>UPDATE [dbo].[Users] SET [login] = @login, [Passw] = @Passw, [id_role] = @id_role, [Surname] = @Surname, [Name] = @Name, [Otch] = @Otch, [Phone] = @Phone WHERE (([Id_user] = @Original_Id_user) AND ((@IsNull_login = 1 AND [login] IS NULL) OR ([login] = @Original_login)) AND ((@IsNull_Passw = 1 AND [Passw] IS NULL) OR ([Passw] = @Original_Passw)) AND ((@IsNull_id_role = 1 AND [id_role] IS NULL) OR ([id_role] = @Original_id_role)) AND ((@IsNull_Surname = 1 AND [Surname] IS NULL) OR ([Surname] = @Original_Surname)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Otch = 1 AND [Otch] IS NULL) OR ([Otch] = @Original_Otch)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)));
  436. SELECT Id_user, login, Passw, id_role, Surname, Name, Otch, Phone FROM Users WHERE (Id_user = @Id_user)</CommandText>
  437. <Parameters>
  438. <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" />
  439. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Passw" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Passw" SourceColumnNullMapping="false" SourceVersion="Current" />
  440. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_role" SourceColumnNullMapping="false" SourceVersion="Current" />
  441. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Current" />
  442. <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" />
  443. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Otch" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Otch" SourceColumnNullMapping="false" SourceVersion="Current" />
  444. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
  445. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id_user" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id_user" SourceColumnNullMapping="false" SourceVersion="Original" />
  446. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_login" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="true" SourceVersion="Original" />
  447. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Original" />
  448. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Passw" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Passw" SourceColumnNullMapping="true" SourceVersion="Original" />
  449. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Passw" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Passw" SourceColumnNullMapping="false" SourceVersion="Original" />
  450. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_role" SourceColumnNullMapping="true" SourceVersion="Original" />
  451. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_role" SourceColumnNullMapping="false" SourceVersion="Original" />
  452. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Surname" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="true" SourceVersion="Original" />
  453. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Original" />
  454. <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" />
  455. <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" />
  456. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Otch" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Otch" SourceColumnNullMapping="true" SourceVersion="Original" />
  457. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Otch" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Otch" SourceColumnNullMapping="false" SourceVersion="Original" />
  458. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="true" SourceVersion="Original" />
  459. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
  460. <Parameter AllowDbNull="false" AutogeneratedName="Id_user" ColumnName="Id_user" DataSourceName="dbFabrika2024.dbo.Users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id_user" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id_user" SourceColumnNullMapping="false" SourceVersion="Current" />
  461. </Parameters>
  462. </DbCommand>
  463. </UpdateCommand>
  464. </DbSource>
  465. </MainSource>
  466. <Mappings>
  467. <Mapping SourceColumn="Id_user" DataSetColumn="Id_user" />
  468. <Mapping SourceColumn="login" DataSetColumn="login" />
  469. <Mapping SourceColumn="Passw" DataSetColumn="Passw" />
  470. <Mapping SourceColumn="id_role" DataSetColumn="id_role" />
  471. <Mapping SourceColumn="Surname" DataSetColumn="Surname" />
  472. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  473. <Mapping SourceColumn="Otch" DataSetColumn="Otch" />
  474. <Mapping SourceColumn="Phone" DataSetColumn="Phone" />
  475. </Mappings>
  476. <Sources />
  477. </TableAdapter>
  478. </Tables>
  479. <Sources />
  480. </DataSource>
  481. </xs:appinfo>
  482. </xs:annotation>
  483. <xs:element name="dbFabrika2024DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="dbFabrika2024DataSet" msprop:Generator_DataSetName="dbFabrika2024DataSet">
  484. <xs:complexType>
  485. <xs:choice minOccurs="0" maxOccurs="unbounded">
  486. <xs:element name="Cveta" msprop:Generator_RowEvHandlerName="CvetaRowChangeEventHandler" msprop:Generator_RowDeletedName="CvetaRowDeleted" msprop:Generator_RowDeletingName="CvetaRowDeleting" msprop:Generator_RowEvArgName="CvetaRowChangeEvent" msprop:Generator_TablePropName="Cveta" msprop:Generator_RowChangedName="CvetaRowChanged" msprop:Generator_RowChangingName="CvetaRowChanging" msprop:Generator_TableClassName="CvetaDataTable" msprop:Generator_RowClassName="CvetaRow" msprop:Generator_TableVarName="tableCveta" msprop:Generator_UserTableName="Cveta">
  487. <xs:complexType>
  488. <xs:sequence>
  489. <xs:element name="id_cvet" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="id_cvet" msprop:Generator_ColumnPropNameInTable="id_cvetColumn" msprop:Generator_ColumnVarNameInTable="columnid_cvet" msprop:Generator_UserColumnName="id_cvet" type="xs:int" />
  490. <xs:element name="Name_cvet" msprop:Generator_ColumnPropNameInRow="Name_cvet" msprop:Generator_ColumnPropNameInTable="Name_cvetColumn" msprop:Generator_ColumnVarNameInTable="columnName_cvet" msprop:Generator_UserColumnName="Name_cvet" minOccurs="0">
  491. <xs:simpleType>
  492. <xs:restriction base="xs:string">
  493. <xs:maxLength value="2147483647" />
  494. </xs:restriction>
  495. </xs:simpleType>
  496. </xs:element>
  497. </xs:sequence>
  498. </xs:complexType>
  499. </xs:element>
  500. <xs:element name="Furnitura" msprop:Generator_RowEvHandlerName="FurnituraRowChangeEventHandler" msprop:Generator_RowDeletedName="FurnituraRowDeleted" msprop:Generator_RowDeletingName="FurnituraRowDeleting" msprop:Generator_RowEvArgName="FurnituraRowChangeEvent" msprop:Generator_TablePropName="Furnitura" msprop:Generator_RowChangedName="FurnituraRowChanged" msprop:Generator_RowChangingName="FurnituraRowChanging" msprop:Generator_TableClassName="FurnituraDataTable" msprop:Generator_RowClassName="FurnituraRow" msprop:Generator_TableVarName="tableFurnitura" msprop:Generator_UserTableName="Furnitura">
  501. <xs:complexType>
  502. <xs:sequence>
  503. <xs:element name="idfur" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="idfur" msprop:Generator_ColumnPropNameInTable="idfurColumn" msprop:Generator_ColumnVarNameInTable="columnidfur" msprop:Generator_UserColumnName="idfur" type="xs:int" />
  504. <xs:element name="namefur" msprop:Generator_ColumnPropNameInRow="namefur" msprop:Generator_ColumnPropNameInTable="namefurColumn" msprop:Generator_ColumnVarNameInTable="columnnamefur" msprop:Generator_UserColumnName="namefur" minOccurs="0">
  505. <xs:simpleType>
  506. <xs:restriction base="xs:string">
  507. <xs:maxLength value="50" />
  508. </xs:restriction>
  509. </xs:simpleType>
  510. </xs:element>
  511. <xs:element name="photo" msprop:Generator_ColumnPropNameInRow="photo" msprop:Generator_ColumnPropNameInTable="photoColumn" msprop:Generator_ColumnVarNameInTable="columnphoto" msprop:Generator_UserColumnName="photo" type="xs:base64Binary" minOccurs="0" />
  512. <xs:element name="countfur" msprop:Generator_ColumnPropNameInRow="countfur" msprop:Generator_ColumnPropNameInTable="countfurColumn" msprop:Generator_ColumnVarNameInTable="columncountfur" msprop:Generator_UserColumnName="countfur" type="xs:int" minOccurs="0" />
  513. </xs:sequence>
  514. </xs:complexType>
  515. </xs:element>
  516. <xs:element name="Izdelie" msprop:Generator_RowEvHandlerName="IzdelieRowChangeEventHandler" msprop:Generator_RowDeletedName="IzdelieRowDeleted" msprop:Generator_RowDeletingName="IzdelieRowDeleting" msprop:Generator_RowEvArgName="IzdelieRowChangeEvent" msprop:Generator_TablePropName="Izdelie" msprop:Generator_RowChangedName="IzdelieRowChanged" msprop:Generator_RowChangingName="IzdelieRowChanging" msprop:Generator_TableClassName="IzdelieDataTable" msprop:Generator_RowClassName="IzdelieRow" msprop:Generator_TableVarName="tableIzdelie" msprop:Generator_UserTableName="Izdelie">
  517. <xs:complexType>
  518. <xs:sequence>
  519. <xs:element name="id_izdelie" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="id_izdelie" msprop:Generator_ColumnPropNameInTable="id_izdelieColumn" msprop:Generator_ColumnVarNameInTable="columnid_izdelie" msprop:Generator_UserColumnName="id_izdelie" type="xs:int" />
  520. <xs:element name="Name_izd" msprop:Generator_ColumnPropNameInRow="Name_izd" msprop:Generator_ColumnPropNameInTable="Name_izdColumn" msprop:Generator_ColumnVarNameInTable="columnName_izd" msprop:Generator_UserColumnName="Name_izd" minOccurs="0">
  521. <xs:simpleType>
  522. <xs:restriction base="xs:string">
  523. <xs:maxLength value="50" />
  524. </xs:restriction>
  525. </xs:simpleType>
  526. </xs:element>
  527. <xs:element name="length" msprop:Generator_ColumnPropNameInRow="length" msprop:Generator_ColumnPropNameInTable="lengthColumn" msprop:Generator_ColumnVarNameInTable="columnlength" msprop:Generator_UserColumnName="length" type="xs:int" minOccurs="0" />
  528. <xs:element name="width" msprop:Generator_ColumnPropNameInRow="width" msprop:Generator_ColumnPropNameInTable="widthColumn" msprop:Generator_ColumnVarNameInTable="columnwidth" msprop:Generator_UserColumnName="width" type="xs:int" minOccurs="0" />
  529. </xs:sequence>
  530. </xs:complexType>
  531. </xs:element>
  532. <xs:element name="Orders" msprop:Generator_RowEvHandlerName="OrdersRowChangeEventHandler" msprop:Generator_RowDeletedName="OrdersRowDeleted" msprop:Generator_RowDeletingName="OrdersRowDeleting" msprop:Generator_RowEvArgName="OrdersRowChangeEvent" msprop:Generator_TablePropName="Orders" msprop:Generator_RowChangedName="OrdersRowChanged" msprop:Generator_RowChangingName="OrdersRowChanging" msprop:Generator_TableClassName="OrdersDataTable" msprop:Generator_RowClassName="OrdersRow" msprop:Generator_TableVarName="tableOrders" msprop:Generator_UserTableName="Orders">
  533. <xs:complexType>
  534. <xs:sequence>
  535. <xs:element name="id_order" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="id_order" msprop:Generator_ColumnPropNameInTable="id_orderColumn" msprop:Generator_ColumnVarNameInTable="columnid_order" msprop:Generator_UserColumnName="id_order" type="xs:int" />
  536. <xs:element name="id_izdelie" msprop:Generator_ColumnPropNameInRow="id_izdelie" msprop:Generator_ColumnPropNameInTable="id_izdelieColumn" msprop:Generator_ColumnVarNameInTable="columnid_izdelie" msprop:Generator_UserColumnName="id_izdelie" type="xs:int" minOccurs="0" />
  537. <xs:element name="id_zakaz" msprop:Generator_ColumnPropNameInRow="id_zakaz" msprop:Generator_ColumnPropNameInTable="id_zakazColumn" msprop:Generator_ColumnVarNameInTable="columnid_zakaz" msprop:Generator_UserColumnName="id_zakaz" type="xs:int" minOccurs="0" />
  538. <xs:element name="id_manager" msprop:Generator_ColumnPropNameInRow="id_manager" msprop:Generator_ColumnPropNameInTable="id_managerColumn" msprop:Generator_ColumnVarNameInTable="columnid_manager" msprop:Generator_UserColumnName="id_manager" type="xs:int" minOccurs="0" />
  539. <xs:element name="id_tkani" msprop:Generator_ColumnPropNameInRow="id_tkani" msprop:Generator_ColumnPropNameInTable="id_tkaniColumn" msprop:Generator_ColumnVarNameInTable="columnid_tkani" msprop:Generator_UserColumnName="id_tkani" type="xs:int" minOccurs="0" />
  540. <xs:element name="id_furnitur" msprop:Generator_ColumnPropNameInRow="id_furnitur" msprop:Generator_ColumnPropNameInTable="id_furniturColumn" msprop:Generator_ColumnVarNameInTable="columnid_furnitur" msprop:Generator_UserColumnName="id_furnitur" type="xs:int" minOccurs="0" />
  541. <xs:element name="CountFurnit" msprop:Generator_ColumnPropNameInRow="CountFurnit" msprop:Generator_ColumnPropNameInTable="CountFurnitColumn" msprop:Generator_ColumnVarNameInTable="columnCountFurnit" msprop:Generator_UserColumnName="CountFurnit" type="xs:int" minOccurs="0" />
  542. <xs:element name="CountIzdel" msprop:Generator_ColumnPropNameInRow="CountIzdel" msprop:Generator_ColumnPropNameInTable="CountIzdelColumn" msprop:Generator_ColumnVarNameInTable="columnCountIzdel" msprop:Generator_UserColumnName="CountIzdel" type="xs:int" minOccurs="0" />
  543. </xs:sequence>
  544. </xs:complexType>
  545. </xs:element>
  546. <xs:element name="Role" msprop:Generator_RowEvHandlerName="RoleRowChangeEventHandler" msprop:Generator_RowDeletedName="RoleRowDeleted" msprop:Generator_RowDeletingName="RoleRowDeleting" msprop:Generator_RowEvArgName="RoleRowChangeEvent" msprop:Generator_TablePropName="Role" msprop:Generator_RowChangedName="RoleRowChanged" msprop:Generator_RowChangingName="RoleRowChanging" msprop:Generator_TableClassName="RoleDataTable" msprop:Generator_RowClassName="RoleRow" msprop:Generator_TableVarName="tableRole" msprop:Generator_UserTableName="Role">
  547. <xs:complexType>
  548. <xs:sequence>
  549. <xs:element name="id_role" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="id_role" msprop:Generator_ColumnPropNameInTable="id_roleColumn" msprop:Generator_ColumnVarNameInTable="columnid_role" msprop:Generator_UserColumnName="id_role" type="xs:int" />
  550. <xs:element name="Name_Role" msprop:Generator_ColumnPropNameInRow="Name_Role" msprop:Generator_ColumnPropNameInTable="Name_RoleColumn" msprop:Generator_ColumnVarNameInTable="columnName_Role" msprop:Generator_UserColumnName="Name_Role" minOccurs="0">
  551. <xs:simpleType>
  552. <xs:restriction base="xs:string">
  553. <xs:maxLength value="50" />
  554. </xs:restriction>
  555. </xs:simpleType>
  556. </xs:element>
  557. </xs:sequence>
  558. </xs:complexType>
  559. </xs:element>
  560. <xs:element name="Tkani" msprop:Generator_RowEvHandlerName="TkaniRowChangeEventHandler" msprop:Generator_RowDeletedName="TkaniRowDeleted" msprop:Generator_RowDeletingName="TkaniRowDeleting" msprop:Generator_RowEvArgName="TkaniRowChangeEvent" msprop:Generator_TablePropName="Tkani" msprop:Generator_RowChangedName="TkaniRowChanged" msprop:Generator_RowChangingName="TkaniRowChanging" msprop:Generator_TableClassName="TkaniDataTable" msprop:Generator_RowClassName="TkaniRow" msprop:Generator_TableVarName="tableTkani" msprop:Generator_UserTableName="Tkani">
  561. <xs:complexType>
  562. <xs:sequence>
  563. <xs:element name="Id_Tkani" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="Id_Tkani" msprop:Generator_ColumnPropNameInTable="Id_TkaniColumn" msprop:Generator_ColumnVarNameInTable="columnId_Tkani" msprop:Generator_UserColumnName="Id_Tkani" type="xs:int" />
  564. <xs:element name="Nazvanie" msprop:Generator_ColumnPropNameInRow="Nazvanie" msprop:Generator_ColumnPropNameInTable="NazvanieColumn" msprop:Generator_ColumnVarNameInTable="columnNazvanie" msprop:Generator_UserColumnName="Nazvanie">
  565. <xs:simpleType>
  566. <xs:restriction base="xs:string">
  567. <xs:maxLength value="2147483647" />
  568. </xs:restriction>
  569. </xs:simpleType>
  570. </xs:element>
  571. <xs:element name="id_cvet" msprop:Generator_ColumnPropNameInRow="id_cvet" msprop:Generator_ColumnPropNameInTable="id_cvetColumn" msprop:Generator_ColumnVarNameInTable="columnid_cvet" msprop:Generator_UserColumnName="id_cvet" type="xs:int" />
  572. <xs:element name="Shirina" msprop:Generator_ColumnPropNameInRow="Shirina" msprop:Generator_ColumnPropNameInTable="ShirinaColumn" msprop:Generator_ColumnVarNameInTable="columnShirina" msprop:Generator_UserColumnName="Shirina" type="xs:int" minOccurs="0" />
  573. <xs:element name="Dlina" msprop:Generator_ColumnPropNameInRow="Dlina" msprop:Generator_ColumnPropNameInTable="DlinaColumn" msprop:Generator_ColumnVarNameInTable="columnDlina" msprop:Generator_UserColumnName="Dlina" type="xs:int" minOccurs="0" />
  574. <xs:element name="Primechanie" msprop:Generator_ColumnPropNameInRow="Primechanie" msprop:Generator_ColumnPropNameInTable="PrimechanieColumn" msprop:Generator_ColumnVarNameInTable="columnPrimechanie" msprop:Generator_UserColumnName="Primechanie" minOccurs="0">
  575. <xs:simpleType>
  576. <xs:restriction base="xs:string">
  577. <xs:maxLength value="2147483647" />
  578. </xs:restriction>
  579. </xs:simpleType>
  580. </xs:element>
  581. <xs:element name="Photo" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_UserColumnName="Photo" type="xs:base64Binary" minOccurs="0" />
  582. </xs:sequence>
  583. </xs:complexType>
  584. </xs:element>
  585. <xs:element name="Users" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_TablePropName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_RowClassName="UsersRow" msprop:Generator_TableVarName="tableUsers" msprop:Generator_UserTableName="Users">
  586. <xs:complexType>
  587. <xs:sequence>
  588. <xs:element name="Id_user" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="Id_user" msprop:Generator_ColumnPropNameInTable="Id_userColumn" msprop:Generator_ColumnVarNameInTable="columnId_user" msprop:Generator_UserColumnName="Id_user" type="xs:int" />
  589. <xs:element name="login" msprop:Generator_ColumnPropNameInRow="login" msprop:Generator_ColumnPropNameInTable="loginColumn" msprop:Generator_ColumnVarNameInTable="columnlogin" msprop:Generator_UserColumnName="login" minOccurs="0">
  590. <xs:simpleType>
  591. <xs:restriction base="xs:string">
  592. <xs:maxLength value="50" />
  593. </xs:restriction>
  594. </xs:simpleType>
  595. </xs:element>
  596. <xs:element name="Passw" msprop:Generator_ColumnPropNameInRow="Passw" msprop:Generator_ColumnPropNameInTable="PasswColumn" msprop:Generator_ColumnVarNameInTable="columnPassw" msprop:Generator_UserColumnName="Passw" minOccurs="0">
  597. <xs:simpleType>
  598. <xs:restriction base="xs:string">
  599. <xs:maxLength value="50" />
  600. </xs:restriction>
  601. </xs:simpleType>
  602. </xs:element>
  603. <xs:element name="id_role" msprop:Generator_ColumnPropNameInRow="id_role" msprop:Generator_ColumnPropNameInTable="id_roleColumn" msprop:Generator_ColumnVarNameInTable="columnid_role" msprop:Generator_UserColumnName="id_role" type="xs:int" minOccurs="0" />
  604. <xs:element name="Surname" msprop:Generator_ColumnPropNameInRow="Surname" msprop:Generator_ColumnPropNameInTable="SurnameColumn" msprop:Generator_ColumnVarNameInTable="columnSurname" msprop:Generator_UserColumnName="Surname" minOccurs="0">
  605. <xs:simpleType>
  606. <xs:restriction base="xs:string">
  607. <xs:maxLength value="50" />
  608. </xs:restriction>
  609. </xs:simpleType>
  610. </xs:element>
  611. <xs:element name="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_UserColumnName="Name" minOccurs="0">
  612. <xs:simpleType>
  613. <xs:restriction base="xs:string">
  614. <xs:maxLength value="50" />
  615. </xs:restriction>
  616. </xs:simpleType>
  617. </xs:element>
  618. <xs:element name="Otch" msprop:Generator_ColumnPropNameInRow="Otch" msprop:Generator_ColumnPropNameInTable="OtchColumn" msprop:Generator_ColumnVarNameInTable="columnOtch" msprop:Generator_UserColumnName="Otch" minOccurs="0">
  619. <xs:simpleType>
  620. <xs:restriction base="xs:string">
  621. <xs:maxLength value="50" />
  622. </xs:restriction>
  623. </xs:simpleType>
  624. </xs:element>
  625. <xs:element name="Phone" msprop:Generator_ColumnPropNameInRow="Phone" msprop:Generator_ColumnPropNameInTable="PhoneColumn" msprop:Generator_ColumnVarNameInTable="columnPhone" msprop:Generator_UserColumnName="Phone" minOccurs="0">
  626. <xs:simpleType>
  627. <xs:restriction base="xs:string">
  628. <xs:maxLength value="50" />
  629. </xs:restriction>
  630. </xs:simpleType>
  631. </xs:element>
  632. </xs:sequence>
  633. </xs:complexType>
  634. </xs:element>
  635. </xs:choice>
  636. </xs:complexType>
  637. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  638. <xs:selector xpath=".//mstns:Cveta" />
  639. <xs:field xpath="mstns:id_cvet" />
  640. </xs:unique>
  641. <xs:unique name="Furnitura_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  642. <xs:selector xpath=".//mstns:Furnitura" />
  643. <xs:field xpath="mstns:idfur" />
  644. </xs:unique>
  645. <xs:unique name="Izdelie_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  646. <xs:selector xpath=".//mstns:Izdelie" />
  647. <xs:field xpath="mstns:id_izdelie" />
  648. </xs:unique>
  649. <xs:unique name="Orders_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  650. <xs:selector xpath=".//mstns:Orders" />
  651. <xs:field xpath="mstns:id_order" />
  652. </xs:unique>
  653. <xs:unique name="Role_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  654. <xs:selector xpath=".//mstns:Role" />
  655. <xs:field xpath="mstns:id_role" />
  656. </xs:unique>
  657. <xs:unique name="Tkani_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  658. <xs:selector xpath=".//mstns:Tkani" />
  659. <xs:field xpath="mstns:Id_Tkani" />
  660. </xs:unique>
  661. <xs:unique name="Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  662. <xs:selector xpath=".//mstns:Users" />
  663. <xs:field xpath="mstns:Id_user" />
  664. </xs:unique>
  665. </xs:element>
  666. <xs:annotation>
  667. <xs:appinfo>
  668. <msdata:Relationship name="FK_Orders_Furnitura" msdata:parent="Furnitura" msdata:child="Orders" msdata:parentkey="idfur" msdata:childkey="id_furnitur" msprop:Generator_UserParentTable="Furnitura" msprop:Generator_UserChildTable="Orders" msprop:Generator_RelationVarName="relationFK_Orders_Furnitura" msprop:Generator_ChildPropName="GetOrdersRows" msprop:Generator_ParentPropName="FurnituraRow" msprop:Generator_UserRelationName="FK_Orders_Furnitura" />
  669. <msdata:Relationship name="FK_Orders_Izdelie" msdata:parent="Izdelie" msdata:child="Orders" msdata:parentkey="id_izdelie" msdata:childkey="id_izdelie" msprop:Generator_UserParentTable="Izdelie" msprop:Generator_UserChildTable="Orders" msprop:Generator_RelationVarName="relationFK_Orders_Izdelie" msprop:Generator_ChildPropName="GetOrdersRows" msprop:Generator_ParentPropName="IzdelieRow" msprop:Generator_UserRelationName="FK_Orders_Izdelie" />
  670. <msdata:Relationship name="FK_Orders_Tkani" msdata:parent="Tkani" msdata:child="Orders" msdata:parentkey="Id_Tkani" msdata:childkey="id_tkani" msprop:Generator_UserParentTable="Tkani" msprop:Generator_UserChildTable="Orders" msprop:Generator_RelationVarName="relationFK_Orders_Tkani" msprop:Generator_UserRelationName="FK_Orders_Tkani" msprop:Generator_ChildPropName="GetOrdersRows" msprop:Generator_ParentPropName="TkaniRow" />
  671. <msdata:Relationship name="FK_Orders_Users" msdata:parent="Users" msdata:child="Orders" msdata:parentkey="Id_user" msdata:childkey="id_manager" msprop:Generator_UserParentTable="Users" msprop:Generator_UserChildTable="Orders" msprop:Generator_RelationVarName="relationFK_Orders_Users" msprop:Generator_UserRelationName="FK_Orders_Users" msprop:Generator_ChildPropName="GetOrdersRows" msprop:Generator_ParentPropName="UsersRow" />
  672. <msdata:Relationship name="FK_Tkani_Cveta" msdata:parent="Cveta" msdata:child="Tkani" msdata:parentkey="id_cvet" msdata:childkey="id_cvet" msprop:Generator_UserParentTable="Cveta" msprop:Generator_UserChildTable="Tkani" msprop:Generator_RelationVarName="relationFK_Tkani_Cveta" msprop:Generator_ChildPropName="GetTkaniRows" msprop:Generator_ParentPropName="CvetaRow" msprop:Generator_UserRelationName="FK_Tkani_Cveta" />
  673. <msdata:Relationship name="FK_Users_Role" msdata:parent="Role" msdata:child="Users" msdata:parentkey="id_role" msdata:childkey="id_role" msprop:Generator_UserParentTable="Role" msprop:Generator_UserChildTable="Users" msprop:Generator_RelationVarName="relationFK_Users_Role" msprop:Generator_ChildPropName="GetUsersRows" msprop:Generator_ParentPropName="RoleRow" msprop:Generator_UserRelationName="FK_Users_Role" />
  674. </xs:appinfo>
  675. </xs:annotation>
  676. </xs:schema>