fab2021DataSet.xsd 85 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="fab2021DataSet" targetNamespace="http://tempuri.org/fab2021DataSet.xsd" xmlns:mstns="http://tempuri.org/fab2021DataSet.xsd" xmlns="http://tempuri.org/fab2021DataSet.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="fab2021ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="fab2021ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.СУБД_Швейная_фабрика.Properties.Settings.GlobalReference.Default.fab2021ConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FurnituraTableAdapter" GeneratorDataComponentClassName="FurnituraTableAdapter" Name="Furnitura" UserDataComponentName="FurnituraTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="fab2021ConnectionString (Settings)" DbObjectName="fab2021.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">
  13. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <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>
  16. <Parameters>
  17. <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" />
  18. <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" />
  19. <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" />
  20. <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" />
  21. <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" />
  22. </Parameters>
  23. </DbCommand>
  24. </DeleteCommand>
  25. <InsertCommand>
  26. <DbCommand CommandType="Text" ModifiedByUser="false">
  27. <CommandText>INSERT INTO [dbo].[Furnitura] ([namefur], [photo], [countfur]) VALUES (@namefur, @photo, @countfur);
  28. SELECT idfur, namefur, photo, countfur FROM Furnitura WHERE (idfur = SCOPE_IDENTITY())</CommandText>
  29. <Parameters>
  30. <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" />
  31. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  32. <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" />
  33. </Parameters>
  34. </DbCommand>
  35. </InsertCommand>
  36. <SelectCommand>
  37. <DbCommand CommandType="Text" ModifiedByUser="false">
  38. <CommandText>SELECT idfur, namefur, photo, countfur FROM dbo.Furnitura</CommandText>
  39. <Parameters />
  40. </DbCommand>
  41. </SelectCommand>
  42. <UpdateCommand>
  43. <DbCommand CommandType="Text" ModifiedByUser="false">
  44. <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)));
  45. SELECT idfur, namefur, photo, countfur FROM Furnitura WHERE (idfur = @idfur)</CommandText>
  46. <Parameters>
  47. <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" />
  48. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  49. <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" />
  50. <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" />
  51. <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" />
  52. <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" />
  53. <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" />
  54. <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" />
  55. <Parameter AllowDbNull="false" AutogeneratedName="idfur" ColumnName="idfur" DataSourceName="fab2021.dbo.Furnitura" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idfur" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Current" />
  56. </Parameters>
  57. </DbCommand>
  58. </UpdateCommand>
  59. </DbSource>
  60. </MainSource>
  61. <Mappings>
  62. <Mapping SourceColumn="idfur" DataSetColumn="idfur" />
  63. <Mapping SourceColumn="namefur" DataSetColumn="namefur" />
  64. <Mapping SourceColumn="photo" DataSetColumn="photo" />
  65. <Mapping SourceColumn="countfur" DataSetColumn="countfur" />
  66. </Mappings>
  67. <Sources />
  68. </TableAdapter>
  69. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="IzdeliyaTableAdapter" GeneratorDataComponentClassName="IzdeliyaTableAdapter" Name="Izdeliya" UserDataComponentName="IzdeliyaTableAdapter">
  70. <MainSource>
  71. <DbSource ConnectionRef="fab2021ConnectionString (Settings)" DbObjectName="fab2021.dbo.Izdeliya" 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">
  72. <DeleteCommand>
  73. <DbCommand CommandType="Text" ModifiedByUser="false">
  74. <CommandText>DELETE FROM [dbo].[Izdeliya] WHERE (([idizd] = @Original_idizd) AND ((@IsNull_nameizd = 1 AND [nameizd] IS NULL) OR ([nameizd] = @Original_nameizd)) 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>
  75. <Parameters>
  76. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idizd" SourceColumnNullMapping="false" SourceVersion="Original" />
  77. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nameizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nameizd" SourceColumnNullMapping="true" SourceVersion="Original" />
  78. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nameizd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nameizd" SourceColumnNullMapping="false" SourceVersion="Original" />
  79. <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" />
  80. <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" />
  81. <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" />
  82. <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" />
  83. </Parameters>
  84. </DbCommand>
  85. </DeleteCommand>
  86. <InsertCommand>
  87. <DbCommand CommandType="Text" ModifiedByUser="false">
  88. <CommandText>INSERT INTO [dbo].[Izdeliya] ([nameizd], [length], [width]) VALUES (@nameizd, @length, @width);
  89. SELECT idizd, nameizd, length, width FROM Izdeliya WHERE (idizd = SCOPE_IDENTITY())</CommandText>
  90. <Parameters>
  91. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nameizd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nameizd" SourceColumnNullMapping="false" SourceVersion="Current" />
  92. <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" />
  93. <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" />
  94. </Parameters>
  95. </DbCommand>
  96. </InsertCommand>
  97. <SelectCommand>
  98. <DbCommand CommandType="Text" ModifiedByUser="false">
  99. <CommandText>SELECT idizd, nameizd, length, width FROM dbo.Izdeliya</CommandText>
  100. <Parameters />
  101. </DbCommand>
  102. </SelectCommand>
  103. <UpdateCommand>
  104. <DbCommand CommandType="Text" ModifiedByUser="false">
  105. <CommandText>UPDATE [dbo].[Izdeliya] SET [nameizd] = @nameizd, [length] = @length, [width] = @width WHERE (([idizd] = @Original_idizd) AND ((@IsNull_nameizd = 1 AND [nameizd] IS NULL) OR ([nameizd] = @Original_nameizd)) AND ((@IsNull_length = 1 AND [length] IS NULL) OR ([length] = @Original_length)) AND ((@IsNull_width = 1 AND [width] IS NULL) OR ([width] = @Original_width)));
  106. SELECT idizd, nameizd, length, width FROM Izdeliya WHERE (idizd = @idizd)</CommandText>
  107. <Parameters>
  108. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nameizd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nameizd" SourceColumnNullMapping="false" SourceVersion="Current" />
  109. <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" />
  110. <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" />
  111. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idizd" SourceColumnNullMapping="false" SourceVersion="Original" />
  112. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nameizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nameizd" SourceColumnNullMapping="true" SourceVersion="Original" />
  113. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nameizd" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nameizd" SourceColumnNullMapping="false" SourceVersion="Original" />
  114. <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" />
  115. <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" />
  116. <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" />
  117. <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" />
  118. <Parameter AllowDbNull="false" AutogeneratedName="idizd" ColumnName="idizd" DataSourceName="fab2021.dbo.Izdeliya" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idizd" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idizd" SourceColumnNullMapping="false" SourceVersion="Current" />
  119. </Parameters>
  120. </DbCommand>
  121. </UpdateCommand>
  122. </DbSource>
  123. </MainSource>
  124. <Mappings>
  125. <Mapping SourceColumn="idizd" DataSetColumn="idizd" />
  126. <Mapping SourceColumn="nameizd" DataSetColumn="nameizd" />
  127. <Mapping SourceColumn="length" DataSetColumn="length" />
  128. <Mapping SourceColumn="width" DataSetColumn="width" />
  129. </Mappings>
  130. <Sources />
  131. </TableAdapter>
  132. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TkaniTableAdapter" GeneratorDataComponentClassName="TkaniTableAdapter" Name="Tkani" UserDataComponentName="TkaniTableAdapter">
  133. <MainSource>
  134. <DbSource ConnectionRef="fab2021ConnectionString (Settings)" DbObjectName="fab2021.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">
  135. <DeleteCommand>
  136. <DbCommand CommandType="Text" ModifiedByUser="false">
  137. <CommandText>DELETE FROM [dbo].[Tkani] WHERE (([idtkan] = @Original_idtkan) AND ((@IsNull_nametkan = 1 AND [nametkan] IS NULL) OR ([nametkan] = @Original_nametkan)) AND ((@IsNull_color = 1 AND [color] IS NULL) OR ([color] = @Original_color)) AND ((@IsNull_width = 1 AND [width] IS NULL) OR ([width] = @Original_width)) AND ((@IsNull_length = 1 AND [length] IS NULL) OR ([length] = @Original_length)) AND ((@IsNull_description = 1 AND [description] IS NULL) OR ([description] = @Original_description)))</CommandText>
  138. <Parameters>
  139. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idtkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idtkan" SourceColumnNullMapping="false" SourceVersion="Original" />
  140. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nametkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nametkan" SourceColumnNullMapping="true" SourceVersion="Original" />
  141. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nametkan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nametkan" SourceColumnNullMapping="false" SourceVersion="Original" />
  142. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_color" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="color" SourceColumnNullMapping="true" SourceVersion="Original" />
  143. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_color" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="color" SourceColumnNullMapping="false" SourceVersion="Original" />
  144. <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" />
  145. <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" />
  146. <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" />
  147. <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" />
  148. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="true" SourceVersion="Original" />
  149. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Original" />
  150. </Parameters>
  151. </DbCommand>
  152. </DeleteCommand>
  153. <InsertCommand>
  154. <DbCommand CommandType="Text" ModifiedByUser="false">
  155. <CommandText>INSERT INTO [dbo].[Tkani] ([nametkan], [color], [width], [length], [description], [phototkan]) VALUES (@nametkan, @color, @width, @length, @description, @phototkan);
  156. SELECT idtkan, nametkan, color, width, length, description, phototkan FROM Tkani WHERE (idtkan = SCOPE_IDENTITY())</CommandText>
  157. <Parameters>
  158. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nametkan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nametkan" SourceColumnNullMapping="false" SourceVersion="Current" />
  159. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@color" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="color" SourceColumnNullMapping="false" SourceVersion="Current" />
  160. <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" />
  161. <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" />
  162. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
  163. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@phototkan" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="phototkan" SourceColumnNullMapping="false" SourceVersion="Current" />
  164. </Parameters>
  165. </DbCommand>
  166. </InsertCommand>
  167. <SelectCommand>
  168. <DbCommand CommandType="Text" ModifiedByUser="false">
  169. <CommandText>SELECT idtkan, nametkan, color, width, length, description, phototkan FROM dbo.Tkani</CommandText>
  170. <Parameters />
  171. </DbCommand>
  172. </SelectCommand>
  173. <UpdateCommand>
  174. <DbCommand CommandType="Text" ModifiedByUser="false">
  175. <CommandText>UPDATE [dbo].[Tkani] SET [nametkan] = @nametkan, [color] = @color, [width] = @width, [length] = @length, [description] = @description, [phototkan] = @phototkan WHERE (([idtkan] = @Original_idtkan) AND ((@IsNull_nametkan = 1 AND [nametkan] IS NULL) OR ([nametkan] = @Original_nametkan)) AND ((@IsNull_color = 1 AND [color] IS NULL) OR ([color] = @Original_color)) AND ((@IsNull_width = 1 AND [width] IS NULL) OR ([width] = @Original_width)) AND ((@IsNull_length = 1 AND [length] IS NULL) OR ([length] = @Original_length)) AND ((@IsNull_description = 1 AND [description] IS NULL) OR ([description] = @Original_description)));
  176. SELECT idtkan, nametkan, color, width, length, description, phototkan FROM Tkani WHERE (idtkan = @idtkan)</CommandText>
  177. <Parameters>
  178. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nametkan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nametkan" SourceColumnNullMapping="false" SourceVersion="Current" />
  179. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@color" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="color" SourceColumnNullMapping="false" SourceVersion="Current" />
  180. <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" />
  181. <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" />
  182. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
  183. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@phototkan" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="phototkan" SourceColumnNullMapping="false" SourceVersion="Current" />
  184. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idtkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idtkan" SourceColumnNullMapping="false" SourceVersion="Original" />
  185. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nametkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nametkan" SourceColumnNullMapping="true" SourceVersion="Original" />
  186. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nametkan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nametkan" SourceColumnNullMapping="false" SourceVersion="Original" />
  187. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_color" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="color" SourceColumnNullMapping="true" SourceVersion="Original" />
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_color" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="color" SourceColumnNullMapping="false" SourceVersion="Original" />
  189. <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" />
  190. <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" />
  191. <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" />
  192. <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" />
  193. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="true" SourceVersion="Original" />
  194. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Original" />
  195. <Parameter AllowDbNull="false" AutogeneratedName="idtkan" ColumnName="idtkan" DataSourceName="fab2021.dbo.Tkani" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idtkan" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idtkan" SourceColumnNullMapping="false" SourceVersion="Current" />
  196. </Parameters>
  197. </DbCommand>
  198. </UpdateCommand>
  199. </DbSource>
  200. </MainSource>
  201. <Mappings>
  202. <Mapping SourceColumn="idtkan" DataSetColumn="idtkan" />
  203. <Mapping SourceColumn="nametkan" DataSetColumn="nametkan" />
  204. <Mapping SourceColumn="color" DataSetColumn="color" />
  205. <Mapping SourceColumn="width" DataSetColumn="width" />
  206. <Mapping SourceColumn="length" DataSetColumn="length" />
  207. <Mapping SourceColumn="description" DataSetColumn="description" />
  208. <Mapping SourceColumn="phototkan" DataSetColumn="phototkan" />
  209. </Mappings>
  210. <Sources />
  211. </TableAdapter>
  212. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
  213. <MainSource>
  214. <DbSource ConnectionRef="fab2021ConnectionString (Settings)" DbObjectName="fab2021.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">
  215. <DeleteCommand>
  216. <DbCommand CommandType="Text" ModifiedByUser="false">
  217. <CommandText>DELETE FROM [dbo].[Users] WHERE (([iduser] = @Original_iduser) AND ((@IsNull_login = 1 AND [login] IS NULL) OR ([login] = @Original_login)) AND ((@IsNull_pass = 1 AND [pass] IS NULL) OR ([pass] = @Original_pass)) AND ((@IsNull_role = 1 AND [role] IS NULL) OR ([role] = @Original_role)) AND ((@IsNull_fam = 1 AND [fam] IS NULL) OR ([fam] = @Original_fam)) 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>
  218. <Parameters>
  219. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iduser" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iduser" SourceColumnNullMapping="false" SourceVersion="Original" />
  220. <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" />
  221. <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" />
  222. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pass" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="true" SourceVersion="Original" />
  223. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_pass" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="false" SourceVersion="Original" />
  224. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="role" SourceColumnNullMapping="true" SourceVersion="Original" />
  225. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_role" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="role" SourceColumnNullMapping="false" SourceVersion="Original" />
  226. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="true" SourceVersion="Original" />
  227. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Original" />
  228. <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" />
  229. <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" />
  230. <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" />
  231. <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" />
  232. <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" />
  233. <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" />
  234. </Parameters>
  235. </DbCommand>
  236. </DeleteCommand>
  237. <InsertCommand>
  238. <DbCommand CommandType="Text" ModifiedByUser="false">
  239. <CommandText>INSERT INTO [dbo].[Users] ([login], [pass], [role], [fam], [name], [otch], [phone]) VALUES (@login, @pass, @role, @fam, @name, @otch, @phone);
  240. SELECT iduser, login, pass, role, fam, name, otch, phone FROM Users WHERE (iduser = SCOPE_IDENTITY())</CommandText>
  241. <Parameters>
  242. <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" />
  243. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pass" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="false" SourceVersion="Current" />
  244. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@role" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="role" SourceColumnNullMapping="false" SourceVersion="Current" />
  245. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Current" />
  246. <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" />
  247. <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" />
  248. <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" />
  249. </Parameters>
  250. </DbCommand>
  251. </InsertCommand>
  252. <SelectCommand>
  253. <DbCommand CommandType="Text" ModifiedByUser="false">
  254. <CommandText>SELECT iduser, login, pass, role, fam, name, otch, phone FROM dbo.Users</CommandText>
  255. <Parameters />
  256. </DbCommand>
  257. </SelectCommand>
  258. <UpdateCommand>
  259. <DbCommand CommandType="Text" ModifiedByUser="false">
  260. <CommandText>UPDATE [dbo].[Users] SET [login] = @login, [pass] = @pass, [role] = @role, [fam] = @fam, [name] = @name, [otch] = @otch, [phone] = @phone WHERE (([iduser] = @Original_iduser) AND ((@IsNull_login = 1 AND [login] IS NULL) OR ([login] = @Original_login)) AND ((@IsNull_pass = 1 AND [pass] IS NULL) OR ([pass] = @Original_pass)) AND ((@IsNull_role = 1 AND [role] IS NULL) OR ([role] = @Original_role)) AND ((@IsNull_fam = 1 AND [fam] IS NULL) OR ([fam] = @Original_fam)) 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)));
  261. SELECT iduser, login, pass, role, fam, name, otch, phone FROM Users WHERE (iduser = @iduser)</CommandText>
  262. <Parameters>
  263. <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" />
  264. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pass" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="false" SourceVersion="Current" />
  265. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@role" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="role" SourceColumnNullMapping="false" SourceVersion="Current" />
  266. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Current" />
  267. <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" />
  268. <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" />
  269. <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" />
  270. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iduser" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iduser" SourceColumnNullMapping="false" SourceVersion="Original" />
  271. <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" />
  272. <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" />
  273. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pass" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="true" SourceVersion="Original" />
  274. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_pass" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="false" SourceVersion="Original" />
  275. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="role" SourceColumnNullMapping="true" SourceVersion="Original" />
  276. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_role" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="role" SourceColumnNullMapping="false" SourceVersion="Original" />
  277. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="true" SourceVersion="Original" />
  278. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Original" />
  279. <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" />
  280. <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" />
  281. <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" />
  282. <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" />
  283. <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" />
  284. <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" />
  285. <Parameter AllowDbNull="false" AutogeneratedName="iduser" ColumnName="iduser" DataSourceName="fab2021.dbo.Users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@iduser" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="iduser" SourceColumnNullMapping="false" SourceVersion="Current" />
  286. </Parameters>
  287. </DbCommand>
  288. </UpdateCommand>
  289. </DbSource>
  290. </MainSource>
  291. <Mappings>
  292. <Mapping SourceColumn="iduser" DataSetColumn="iduser" />
  293. <Mapping SourceColumn="login" DataSetColumn="login" />
  294. <Mapping SourceColumn="pass" DataSetColumn="pass" />
  295. <Mapping SourceColumn="role" DataSetColumn="role" />
  296. <Mapping SourceColumn="fam" DataSetColumn="fam" />
  297. <Mapping SourceColumn="name" DataSetColumn="name" />
  298. <Mapping SourceColumn="otch" DataSetColumn="otch" />
  299. <Mapping SourceColumn="phone" DataSetColumn="phone" />
  300. </Mappings>
  301. <Sources />
  302. </TableAdapter>
  303. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ZakazTableAdapter" GeneratorDataComponentClassName="ZakazTableAdapter" Name="Zakaz" UserDataComponentName="ZakazTableAdapter">
  304. <MainSource>
  305. <DbSource ConnectionRef="fab2021ConnectionString (Settings)" DbObjectName="fab2021.dbo.Zakaz" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  306. <DeleteCommand>
  307. <DbCommand CommandType="Text" ModifiedByUser="false">
  308. <CommandText>DELETE FROM [dbo].[Zakaz] WHERE (([idzak] = @Original_idzak) AND ((@IsNull_idizd = 1 AND [idizd] IS NULL) OR ([idizd] = @Original_idizd)) AND ((@IsNull_idzakazchik = 1 AND [idzakazchik] IS NULL) OR ([idzakazchik] = @Original_idzakazchik)) AND ((@IsNull_idman = 1 AND [idman] IS NULL) OR ([idman] = @Original_idman)) AND ((@IsNull_idtkan = 1 AND [idtkan] IS NULL) OR ([idtkan] = @Original_idtkan)) AND ((@IsNull_idfur = 1 AND [idfur] IS NULL) OR ([idfur] = @Original_idfur)) AND ((@IsNull_countfur = 1 AND [countfur] IS NULL) OR ([countfur] = @Original_countfur)) AND ((@IsNull_countizd = 1 AND [countizd] IS NULL) OR ([countizd] = @Original_countizd)))</CommandText>
  309. <Parameters>
  310. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idzak" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idzak" SourceColumnNullMapping="false" SourceVersion="Original" />
  311. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idizd" SourceColumnNullMapping="true" SourceVersion="Original" />
  312. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idizd" SourceColumnNullMapping="false" SourceVersion="Original" />
  313. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idzakazchik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idzakazchik" SourceColumnNullMapping="true" SourceVersion="Original" />
  314. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idzakazchik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idzakazchik" SourceColumnNullMapping="false" SourceVersion="Original" />
  315. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idman" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idman" SourceColumnNullMapping="true" SourceVersion="Original" />
  316. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idman" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idman" SourceColumnNullMapping="false" SourceVersion="Original" />
  317. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idtkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idtkan" SourceColumnNullMapping="true" SourceVersion="Original" />
  318. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idtkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idtkan" SourceColumnNullMapping="false" SourceVersion="Original" />
  319. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idfur" SourceColumnNullMapping="true" SourceVersion="Original" />
  320. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Original" />
  321. <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" />
  322. <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" />
  323. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_countizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countizd" SourceColumnNullMapping="true" SourceVersion="Original" />
  324. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_countizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countizd" SourceColumnNullMapping="false" SourceVersion="Original" />
  325. </Parameters>
  326. </DbCommand>
  327. </DeleteCommand>
  328. <InsertCommand>
  329. <DbCommand CommandType="Text" ModifiedByUser="false">
  330. <CommandText>INSERT INTO [dbo].[Zakaz] ([idizd], [idzakazchik], [idman], [idtkan], [idfur], [countfur], [countizd]) VALUES (@idizd, @idzakazchik, @idman, @idtkan, @idfur, @countfur, @countizd);
  331. SELECT idzak, idizd, idzakazchik, idman, idtkan, idfur, countfur, countizd FROM Zakaz WHERE (idzak = SCOPE_IDENTITY())</CommandText>
  332. <Parameters>
  333. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idizd" SourceColumnNullMapping="false" SourceVersion="Current" />
  334. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idzakazchik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idzakazchik" SourceColumnNullMapping="false" SourceVersion="Current" />
  335. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idman" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idman" SourceColumnNullMapping="false" SourceVersion="Current" />
  336. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idtkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idtkan" SourceColumnNullMapping="false" SourceVersion="Current" />
  337. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Current" />
  338. <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" />
  339. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@countizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countizd" SourceColumnNullMapping="false" SourceVersion="Current" />
  340. </Parameters>
  341. </DbCommand>
  342. </InsertCommand>
  343. <SelectCommand>
  344. <DbCommand CommandType="Text" ModifiedByUser="false">
  345. <CommandText>SELECT idzak, idizd, idzakazchik, idman, idtkan, idfur, countfur, countizd FROM dbo.Zakaz</CommandText>
  346. <Parameters />
  347. </DbCommand>
  348. </SelectCommand>
  349. <UpdateCommand>
  350. <DbCommand CommandType="Text" ModifiedByUser="false">
  351. <CommandText>UPDATE [dbo].[Zakaz] SET [idizd] = @idizd, [idzakazchik] = @idzakazchik, [idman] = @idman, [idtkan] = @idtkan, [idfur] = @idfur, [countfur] = @countfur, [countizd] = @countizd WHERE (([idzak] = @Original_idzak) AND ((@IsNull_idizd = 1 AND [idizd] IS NULL) OR ([idizd] = @Original_idizd)) AND ((@IsNull_idzakazchik = 1 AND [idzakazchik] IS NULL) OR ([idzakazchik] = @Original_idzakazchik)) AND ((@IsNull_idman = 1 AND [idman] IS NULL) OR ([idman] = @Original_idman)) AND ((@IsNull_idtkan = 1 AND [idtkan] IS NULL) OR ([idtkan] = @Original_idtkan)) AND ((@IsNull_idfur = 1 AND [idfur] IS NULL) OR ([idfur] = @Original_idfur)) AND ((@IsNull_countfur = 1 AND [countfur] IS NULL) OR ([countfur] = @Original_countfur)) AND ((@IsNull_countizd = 1 AND [countizd] IS NULL) OR ([countizd] = @Original_countizd)));
  352. SELECT idzak, idizd, idzakazchik, idman, idtkan, idfur, countfur, countizd FROM Zakaz WHERE (idzak = @idzak)</CommandText>
  353. <Parameters>
  354. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idizd" SourceColumnNullMapping="false" SourceVersion="Current" />
  355. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idzakazchik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idzakazchik" SourceColumnNullMapping="false" SourceVersion="Current" />
  356. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idman" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idman" SourceColumnNullMapping="false" SourceVersion="Current" />
  357. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idtkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idtkan" SourceColumnNullMapping="false" SourceVersion="Current" />
  358. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Current" />
  359. <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" />
  360. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@countizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countizd" SourceColumnNullMapping="false" SourceVersion="Current" />
  361. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idzak" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idzak" SourceColumnNullMapping="false" SourceVersion="Original" />
  362. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idizd" SourceColumnNullMapping="true" SourceVersion="Original" />
  363. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idizd" SourceColumnNullMapping="false" SourceVersion="Original" />
  364. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idzakazchik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idzakazchik" SourceColumnNullMapping="true" SourceVersion="Original" />
  365. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idzakazchik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idzakazchik" SourceColumnNullMapping="false" SourceVersion="Original" />
  366. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idman" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idman" SourceColumnNullMapping="true" SourceVersion="Original" />
  367. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idman" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idman" SourceColumnNullMapping="false" SourceVersion="Original" />
  368. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idtkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idtkan" SourceColumnNullMapping="true" SourceVersion="Original" />
  369. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idtkan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idtkan" SourceColumnNullMapping="false" SourceVersion="Original" />
  370. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idfur" SourceColumnNullMapping="true" SourceVersion="Original" />
  371. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idfur" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Original" />
  372. <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" />
  373. <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" />
  374. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_countizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countizd" SourceColumnNullMapping="true" SourceVersion="Original" />
  375. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_countizd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="countizd" SourceColumnNullMapping="false" SourceVersion="Original" />
  376. <Parameter AllowDbNull="false" AutogeneratedName="idzak" ColumnName="idzak" DataSourceName="fab2021.dbo.Zakaz" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idzak" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idzak" SourceColumnNullMapping="false" SourceVersion="Current" />
  377. </Parameters>
  378. </DbCommand>
  379. </UpdateCommand>
  380. </DbSource>
  381. </MainSource>
  382. <Mappings>
  383. <Mapping SourceColumn="idzak" DataSetColumn="idzak" />
  384. <Mapping SourceColumn="idizd" DataSetColumn="idizd" />
  385. <Mapping SourceColumn="idzakazchik" DataSetColumn="idzakazchik" />
  386. <Mapping SourceColumn="idman" DataSetColumn="idman" />
  387. <Mapping SourceColumn="idtkan" DataSetColumn="idtkan" />
  388. <Mapping SourceColumn="idfur" DataSetColumn="idfur" />
  389. <Mapping SourceColumn="countfur" DataSetColumn="countfur" />
  390. <Mapping SourceColumn="countizd" DataSetColumn="countizd" />
  391. </Mappings>
  392. <Sources />
  393. </TableAdapter>
  394. </Tables>
  395. <Sources />
  396. </DataSource>
  397. </xs:appinfo>
  398. </xs:annotation>
  399. <xs:element name="fab2021DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="fab2021DataSet" msprop:Generator_UserDSName="fab2021DataSet">
  400. <xs:complexType>
  401. <xs:choice minOccurs="0" maxOccurs="unbounded">
  402. <xs:element name="Furnitura" msprop:Generator_TableClassName="FurnituraDataTable" msprop:Generator_TableVarName="tableFurnitura" msprop:Generator_RowChangedName="FurnituraRowChanged" msprop:Generator_TablePropName="Furnitura" msprop:Generator_RowDeletingName="FurnituraRowDeleting" msprop:Generator_RowChangingName="FurnituraRowChanging" msprop:Generator_RowEvHandlerName="FurnituraRowChangeEventHandler" msprop:Generator_RowDeletedName="FurnituraRowDeleted" msprop:Generator_RowClassName="FurnituraRow" msprop:Generator_UserTableName="Furnitura" msprop:Generator_RowEvArgName="FurnituraRowChangeEvent">
  403. <xs:complexType>
  404. <xs:sequence>
  405. <xs:element name="idfur" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidfur" msprop:Generator_ColumnPropNameInRow="idfur" msprop:Generator_ColumnPropNameInTable="idfurColumn" msprop:Generator_UserColumnName="idfur" type="xs:int" />
  406. <xs:element name="namefur" msprop:Generator_ColumnVarNameInTable="columnnamefur" msprop:Generator_ColumnPropNameInRow="namefur" msprop:Generator_ColumnPropNameInTable="namefurColumn" msprop:Generator_UserColumnName="namefur" minOccurs="0">
  407. <xs:simpleType>
  408. <xs:restriction base="xs:string">
  409. <xs:maxLength value="50" />
  410. </xs:restriction>
  411. </xs:simpleType>
  412. </xs:element>
  413. <xs:element name="photo" msprop:Generator_ColumnVarNameInTable="columnphoto" msprop:Generator_ColumnPropNameInRow="photo" msprop:Generator_ColumnPropNameInTable="photoColumn" msprop:Generator_UserColumnName="photo" type="xs:base64Binary" minOccurs="0" />
  414. <xs:element name="countfur" msprop:Generator_ColumnVarNameInTable="columncountfur" msprop:Generator_ColumnPropNameInRow="countfur" msprop:Generator_ColumnPropNameInTable="countfurColumn" msprop:Generator_UserColumnName="countfur" type="xs:int" minOccurs="0" />
  415. </xs:sequence>
  416. </xs:complexType>
  417. </xs:element>
  418. <xs:element name="Izdeliya" msprop:Generator_TableClassName="IzdeliyaDataTable" msprop:Generator_TableVarName="tableIzdeliya" msprop:Generator_RowChangedName="IzdeliyaRowChanged" msprop:Generator_TablePropName="Izdeliya" msprop:Generator_RowDeletingName="IzdeliyaRowDeleting" msprop:Generator_RowChangingName="IzdeliyaRowChanging" msprop:Generator_RowEvHandlerName="IzdeliyaRowChangeEventHandler" msprop:Generator_RowDeletedName="IzdeliyaRowDeleted" msprop:Generator_RowClassName="IzdeliyaRow" msprop:Generator_UserTableName="Izdeliya" msprop:Generator_RowEvArgName="IzdeliyaRowChangeEvent">
  419. <xs:complexType>
  420. <xs:sequence>
  421. <xs:element name="idizd" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidizd" msprop:Generator_ColumnPropNameInRow="idizd" msprop:Generator_ColumnPropNameInTable="idizdColumn" msprop:Generator_UserColumnName="idizd" type="xs:int" />
  422. <xs:element name="nameizd" msprop:Generator_ColumnVarNameInTable="columnnameizd" msprop:Generator_ColumnPropNameInRow="nameizd" msprop:Generator_ColumnPropNameInTable="nameizdColumn" msprop:Generator_UserColumnName="nameizd" minOccurs="0">
  423. <xs:simpleType>
  424. <xs:restriction base="xs:string">
  425. <xs:maxLength value="50" />
  426. </xs:restriction>
  427. </xs:simpleType>
  428. </xs:element>
  429. <xs:element name="length" msprop:Generator_ColumnVarNameInTable="columnlength" msprop:Generator_ColumnPropNameInRow="length" msprop:Generator_ColumnPropNameInTable="lengthColumn" msprop:Generator_UserColumnName="length" type="xs:int" minOccurs="0" />
  430. <xs:element name="width" msprop:Generator_ColumnVarNameInTable="columnwidth" msprop:Generator_ColumnPropNameInRow="width" msprop:Generator_ColumnPropNameInTable="widthColumn" msprop:Generator_UserColumnName="width" type="xs:int" minOccurs="0" />
  431. </xs:sequence>
  432. </xs:complexType>
  433. </xs:element>
  434. <xs:element name="Tkani" msprop:Generator_TableClassName="TkaniDataTable" msprop:Generator_TableVarName="tableTkani" msprop:Generator_RowChangedName="TkaniRowChanged" msprop:Generator_TablePropName="Tkani" msprop:Generator_RowDeletingName="TkaniRowDeleting" msprop:Generator_RowChangingName="TkaniRowChanging" msprop:Generator_RowEvHandlerName="TkaniRowChangeEventHandler" msprop:Generator_RowDeletedName="TkaniRowDeleted" msprop:Generator_RowClassName="TkaniRow" msprop:Generator_UserTableName="Tkani" msprop:Generator_RowEvArgName="TkaniRowChangeEvent">
  435. <xs:complexType>
  436. <xs:sequence>
  437. <xs:element name="idtkan" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidtkan" msprop:Generator_ColumnPropNameInRow="idtkan" msprop:Generator_ColumnPropNameInTable="idtkanColumn" msprop:Generator_UserColumnName="idtkan" type="xs:int" />
  438. <xs:element name="nametkan" msprop:Generator_ColumnVarNameInTable="columnnametkan" msprop:Generator_ColumnPropNameInRow="nametkan" msprop:Generator_ColumnPropNameInTable="nametkanColumn" msprop:Generator_UserColumnName="nametkan" minOccurs="0">
  439. <xs:simpleType>
  440. <xs:restriction base="xs:string">
  441. <xs:maxLength value="50" />
  442. </xs:restriction>
  443. </xs:simpleType>
  444. </xs:element>
  445. <xs:element name="color" msprop:Generator_ColumnVarNameInTable="columncolor" msprop:Generator_ColumnPropNameInRow="color" msprop:Generator_ColumnPropNameInTable="colorColumn" msprop:Generator_UserColumnName="color" minOccurs="0">
  446. <xs:simpleType>
  447. <xs:restriction base="xs:string">
  448. <xs:maxLength value="50" />
  449. </xs:restriction>
  450. </xs:simpleType>
  451. </xs:element>
  452. <xs:element name="width" msprop:Generator_ColumnVarNameInTable="columnwidth" msprop:Generator_ColumnPropNameInRow="width" msprop:Generator_ColumnPropNameInTable="widthColumn" msprop:Generator_UserColumnName="width" type="xs:int" minOccurs="0" />
  453. <xs:element name="length" msprop:Generator_ColumnVarNameInTable="columnlength" msprop:Generator_ColumnPropNameInRow="length" msprop:Generator_ColumnPropNameInTable="lengthColumn" msprop:Generator_UserColumnName="length" type="xs:int" minOccurs="0" />
  454. <xs:element name="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnPropNameInTable="descriptionColumn" msprop:Generator_UserColumnName="description" minOccurs="0">
  455. <xs:simpleType>
  456. <xs:restriction base="xs:string">
  457. <xs:maxLength value="50" />
  458. </xs:restriction>
  459. </xs:simpleType>
  460. </xs:element>
  461. <xs:element name="phototkan" msprop:Generator_ColumnVarNameInTable="columnphototkan" msprop:Generator_ColumnPropNameInRow="phototkan" msprop:Generator_ColumnPropNameInTable="phototkanColumn" msprop:Generator_UserColumnName="phototkan" type="xs:base64Binary" minOccurs="0" />
  462. </xs:sequence>
  463. </xs:complexType>
  464. </xs:element>
  465. <xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowClassName="UsersRow" msprop:Generator_UserTableName="Users" msprop:Generator_RowEvArgName="UsersRowChangeEvent">
  466. <xs:complexType>
  467. <xs:sequence>
  468. <xs:element name="iduser" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columniduser" msprop:Generator_ColumnPropNameInRow="iduser" msprop:Generator_ColumnPropNameInTable="iduserColumn" msprop:Generator_UserColumnName="iduser" type="xs:int" />
  469. <xs:element name="login" msprop:Generator_ColumnVarNameInTable="columnlogin" msprop:Generator_ColumnPropNameInRow="login" msprop:Generator_ColumnPropNameInTable="loginColumn" msprop:Generator_UserColumnName="login" minOccurs="0">
  470. <xs:simpleType>
  471. <xs:restriction base="xs:string">
  472. <xs:maxLength value="50" />
  473. </xs:restriction>
  474. </xs:simpleType>
  475. </xs:element>
  476. <xs:element name="pass" msprop:Generator_ColumnVarNameInTable="columnpass" msprop:Generator_ColumnPropNameInRow="pass" msprop:Generator_ColumnPropNameInTable="passColumn" msprop:Generator_UserColumnName="pass" minOccurs="0">
  477. <xs:simpleType>
  478. <xs:restriction base="xs:string">
  479. <xs:maxLength value="50" />
  480. </xs:restriction>
  481. </xs:simpleType>
  482. </xs:element>
  483. <xs:element name="role" msprop:Generator_ColumnVarNameInTable="columnrole" msprop:Generator_ColumnPropNameInRow="role" msprop:Generator_ColumnPropNameInTable="roleColumn" msprop:Generator_UserColumnName="role" minOccurs="0">
  484. <xs:simpleType>
  485. <xs:restriction base="xs:string">
  486. <xs:maxLength value="50" />
  487. </xs:restriction>
  488. </xs:simpleType>
  489. </xs:element>
  490. <xs:element name="fam" msprop:Generator_ColumnVarNameInTable="columnfam" msprop:Generator_ColumnPropNameInRow="fam" msprop:Generator_ColumnPropNameInTable="famColumn" msprop:Generator_UserColumnName="fam" minOccurs="0">
  491. <xs:simpleType>
  492. <xs:restriction base="xs:string">
  493. <xs:maxLength value="50" />
  494. </xs:restriction>
  495. </xs:simpleType>
  496. </xs:element>
  497. <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
  498. <xs:simpleType>
  499. <xs:restriction base="xs:string">
  500. <xs:maxLength value="50" />
  501. </xs:restriction>
  502. </xs:simpleType>
  503. </xs:element>
  504. <xs:element name="otch" msprop:Generator_ColumnVarNameInTable="columnotch" msprop:Generator_ColumnPropNameInRow="otch" msprop:Generator_ColumnPropNameInTable="otchColumn" msprop:Generator_UserColumnName="otch" 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="phone" msprop:Generator_ColumnVarNameInTable="columnphone" msprop:Generator_ColumnPropNameInRow="phone" msprop:Generator_ColumnPropNameInTable="phoneColumn" msprop:Generator_UserColumnName="phone" minOccurs="0">
  512. <xs:simpleType>
  513. <xs:restriction base="xs:string">
  514. <xs:maxLength value="50" />
  515. </xs:restriction>
  516. </xs:simpleType>
  517. </xs:element>
  518. </xs:sequence>
  519. </xs:complexType>
  520. </xs:element>
  521. <xs:element name="Zakaz" msprop:Generator_TableClassName="ZakazDataTable" msprop:Generator_TableVarName="tableZakaz" msprop:Generator_RowChangedName="ZakazRowChanged" msprop:Generator_TablePropName="Zakaz" msprop:Generator_RowDeletingName="ZakazRowDeleting" msprop:Generator_RowChangingName="ZakazRowChanging" msprop:Generator_RowEvHandlerName="ZakazRowChangeEventHandler" msprop:Generator_RowDeletedName="ZakazRowDeleted" msprop:Generator_RowClassName="ZakazRow" msprop:Generator_UserTableName="Zakaz" msprop:Generator_RowEvArgName="ZakazRowChangeEvent">
  522. <xs:complexType>
  523. <xs:sequence>
  524. <xs:element name="idzak" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidzak" msprop:Generator_ColumnPropNameInRow="idzak" msprop:Generator_ColumnPropNameInTable="idzakColumn" msprop:Generator_UserColumnName="idzak" type="xs:int" />
  525. <xs:element name="idizd" msprop:Generator_ColumnVarNameInTable="columnidizd" msprop:Generator_ColumnPropNameInRow="idizd" msprop:Generator_ColumnPropNameInTable="idizdColumn" msprop:Generator_UserColumnName="idizd" type="xs:int" minOccurs="0" />
  526. <xs:element name="idzakazchik" msprop:Generator_ColumnVarNameInTable="columnidzakazchik" msprop:Generator_ColumnPropNameInRow="idzakazchik" msprop:Generator_ColumnPropNameInTable="idzakazchikColumn" msprop:Generator_UserColumnName="idzakazchik" type="xs:int" minOccurs="0" />
  527. <xs:element name="idman" msprop:Generator_ColumnVarNameInTable="columnidman" msprop:Generator_ColumnPropNameInRow="idman" msprop:Generator_ColumnPropNameInTable="idmanColumn" msprop:Generator_UserColumnName="idman" type="xs:int" minOccurs="0" />
  528. <xs:element name="idtkan" msprop:Generator_ColumnVarNameInTable="columnidtkan" msprop:Generator_ColumnPropNameInRow="idtkan" msprop:Generator_ColumnPropNameInTable="idtkanColumn" msprop:Generator_UserColumnName="idtkan" type="xs:int" minOccurs="0" />
  529. <xs:element name="idfur" msprop:Generator_ColumnVarNameInTable="columnidfur" msprop:Generator_ColumnPropNameInRow="idfur" msprop:Generator_ColumnPropNameInTable="idfurColumn" msprop:Generator_UserColumnName="idfur" type="xs:int" minOccurs="0" />
  530. <xs:element name="countfur" msprop:Generator_ColumnVarNameInTable="columncountfur" msprop:Generator_ColumnPropNameInRow="countfur" msprop:Generator_ColumnPropNameInTable="countfurColumn" msprop:Generator_UserColumnName="countfur" type="xs:int" minOccurs="0" />
  531. <xs:element name="countizd" msprop:Generator_ColumnVarNameInTable="columncountizd" msprop:Generator_ColumnPropNameInRow="countizd" msprop:Generator_ColumnPropNameInTable="countizdColumn" msprop:Generator_UserColumnName="countizd" type="xs:int" minOccurs="0" />
  532. </xs:sequence>
  533. </xs:complexType>
  534. </xs:element>
  535. </xs:choice>
  536. </xs:complexType>
  537. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  538. <xs:selector xpath=".//mstns:Furnitura" />
  539. <xs:field xpath="mstns:idfur" />
  540. </xs:unique>
  541. <xs:unique name="Izdeliya_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  542. <xs:selector xpath=".//mstns:Izdeliya" />
  543. <xs:field xpath="mstns:idizd" />
  544. </xs:unique>
  545. <xs:unique name="Tkani_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  546. <xs:selector xpath=".//mstns:Tkani" />
  547. <xs:field xpath="mstns:idtkan" />
  548. </xs:unique>
  549. <xs:unique name="Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  550. <xs:selector xpath=".//mstns:Users" />
  551. <xs:field xpath="mstns:iduser" />
  552. </xs:unique>
  553. <xs:unique name="Zakaz_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  554. <xs:selector xpath=".//mstns:Zakaz" />
  555. <xs:field xpath="mstns:idzak" />
  556. </xs:unique>
  557. </xs:element>
  558. <xs:annotation>
  559. <xs:appinfo>
  560. <msdata:Relationship name="FK_Zakaz_Furnitura" msdata:parent="Furnitura" msdata:child="Zakaz" msdata:parentkey="idfur" msdata:childkey="idfur" msprop:Generator_UserChildTable="Zakaz" msprop:Generator_ChildPropName="GetZakazRows" msprop:Generator_UserRelationName="FK_Zakaz_Furnitura" msprop:Generator_RelationVarName="relationFK_Zakaz_Furnitura" msprop:Generator_UserParentTable="Furnitura" msprop:Generator_ParentPropName="FurnituraRow" />
  561. <msdata:Relationship name="FK_Zakaz_Izdeliya" msdata:parent="Izdeliya" msdata:child="Zakaz" msdata:parentkey="idizd" msdata:childkey="idizd" msprop:Generator_UserChildTable="Zakaz" msprop:Generator_ChildPropName="GetZakazRows" msprop:Generator_UserRelationName="FK_Zakaz_Izdeliya" msprop:Generator_RelationVarName="relationFK_Zakaz_Izdeliya" msprop:Generator_UserParentTable="Izdeliya" msprop:Generator_ParentPropName="IzdeliyaRow" />
  562. <msdata:Relationship name="FK_Zakaz_Tkani" msdata:parent="Tkani" msdata:child="Zakaz" msdata:parentkey="idtkan" msdata:childkey="idtkan" msprop:Generator_UserChildTable="Zakaz" msprop:Generator_ChildPropName="GetZakazRows" msprop:Generator_UserRelationName="FK_Zakaz_Tkani" msprop:Generator_RelationVarName="relationFK_Zakaz_Tkani" msprop:Generator_UserParentTable="Tkani" msprop:Generator_ParentPropName="TkaniRow" />
  563. <msdata:Relationship name="FK_Zakaz_Users" msdata:parent="Users" msdata:child="Zakaz" msdata:parentkey="iduser" msdata:childkey="idzakazchik" msprop:Generator_UserChildTable="Zakaz" msprop:Generator_ChildPropName="GetZakazRowsByFK_Zakaz_Users" msprop:Generator_UserRelationName="FK_Zakaz_Users" msprop:Generator_RelationVarName="relationFK_Zakaz_Users" msprop:Generator_UserParentTable="Users" msprop:Generator_ParentPropName="UsersRowByFK_Zakaz_Users" />
  564. <msdata:Relationship name="FK_Zakaz_Users1" msdata:parent="Users" msdata:child="Zakaz" msdata:parentkey="iduser" msdata:childkey="idman" msprop:Generator_UserChildTable="Zakaz" msprop:Generator_ChildPropName="GetZakazRowsByFK_Zakaz_Users1" msprop:Generator_UserRelationName="FK_Zakaz_Users1" msprop:Generator_RelationVarName="relationFK_Zakaz_Users1" msprop:Generator_UserParentTable="Users" msprop:Generator_ParentPropName="UsersRowByFK_Zakaz_Users1" />
  565. </xs:appinfo>
  566. </xs:annotation>
  567. </xs:schema>