FabrikaLDADataSet.xsd 103 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="FabrikaLDADataSet" targetNamespace="http://tempuri.org/FabrikaLDADataSet.xsd" xmlns:mstns="http://tempuri.org/FabrikaLDADataSet.xsd" xmlns="http://tempuri.org/FabrikaLDADataSet.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="FabrikaLDAConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FabrikaLDAConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.СУБД_Швейная_фабрика.Properties.Settings.GlobalReference.Default.FabrikaLDAConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ClothTableAdapter" GeneratorDataComponentClassName="ClothTableAdapter" Name="Cloth" UserDataComponentName="ClothTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="FabrikaLDAConnectionString (Settings)" DbObjectName="FabrikaLDA.dbo.Cloth" 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].[Cloth] WHERE (([IdCloth] = @Original_IdCloth) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_IdColor = 1 AND [IdColor] IS NULL) OR ([IdColor] = @Original_IdColor)) AND ((@IsNull_Weight = 1 AND [Weight] IS NULL) OR ([Weight] = @Original_Weight)) AND ((@IsNull_Height = 1 AND [Height] IS NULL) OR ([Height] = @Original_Height)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_Photo = 1 AND [Photo] IS NULL) OR ([Photo] = @Original_Photo)))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdCloth" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="true" SourceVersion="Original" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdColor" SourceColumnNullMapping="true" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdColor" SourceColumnNullMapping="false" SourceVersion="Original" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="true" SourceVersion="Original" />
  23. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Original" />
  24. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="true" SourceVersion="Original" />
  25. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Original" />
  26. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Note" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="true" SourceVersion="Original" />
  27. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Original" />
  28. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Photo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="true" SourceVersion="Original" />
  29. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Original" />
  30. </Parameters>
  31. </DbCommand>
  32. </DeleteCommand>
  33. <InsertCommand>
  34. <DbCommand CommandType="Text" ModifiedByUser="false">
  35. <CommandText>INSERT INTO [dbo].[Cloth] ([Title], [IdColor], [Weight], [Height], [Note], [Photo]) VALUES (@Title, @IdColor, @Weight, @Height, @Note, @Photo);
  36. SELECT IdCloth, Title, IdColor, Weight, Height, Note, Photo FROM Cloth WHERE (IdCloth = SCOPE_IDENTITY())</CommandText>
  37. <Parameters>
  38. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  39. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdColor" SourceColumnNullMapping="false" SourceVersion="Current" />
  40. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Current" />
  41. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Current" />
  42. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
  43. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  44. </Parameters>
  45. </DbCommand>
  46. </InsertCommand>
  47. <SelectCommand>
  48. <DbCommand CommandType="Text" ModifiedByUser="false">
  49. <CommandText>SELECT IdCloth, Title, IdColor, Weight, Height, Note, Photo FROM dbo.Cloth</CommandText>
  50. <Parameters />
  51. </DbCommand>
  52. </SelectCommand>
  53. <UpdateCommand>
  54. <DbCommand CommandType="Text" ModifiedByUser="false">
  55. <CommandText>UPDATE [dbo].[Cloth] SET [Title] = @Title, [IdColor] = @IdColor, [Weight] = @Weight, [Height] = @Height, [Note] = @Note, [Photo] = @Photo WHERE (([IdCloth] = @Original_IdCloth) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_IdColor = 1 AND [IdColor] IS NULL) OR ([IdColor] = @Original_IdColor)) AND ((@IsNull_Weight = 1 AND [Weight] IS NULL) OR ([Weight] = @Original_Weight)) AND ((@IsNull_Height = 1 AND [Height] IS NULL) OR ([Height] = @Original_Height)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_Photo = 1 AND [Photo] IS NULL) OR ([Photo] = @Original_Photo)));
  56. SELECT IdCloth, Title, IdColor, Weight, Height, Note, Photo FROM Cloth WHERE (IdCloth = @IdCloth)</CommandText>
  57. <Parameters>
  58. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  59. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdColor" SourceColumnNullMapping="false" SourceVersion="Current" />
  60. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Current" />
  61. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Current" />
  62. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
  63. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  64. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdCloth" SourceColumnNullMapping="false" SourceVersion="Original" />
  65. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="true" SourceVersion="Original" />
  66. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
  67. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdColor" SourceColumnNullMapping="true" SourceVersion="Original" />
  68. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdColor" SourceColumnNullMapping="false" SourceVersion="Original" />
  69. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="true" SourceVersion="Original" />
  70. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Weight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Weight" SourceColumnNullMapping="false" SourceVersion="Original" />
  71. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="true" SourceVersion="Original" />
  72. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Original" />
  73. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Note" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="true" SourceVersion="Original" />
  74. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Original" />
  75. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Photo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="true" SourceVersion="Original" />
  76. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Original" />
  77. <Parameter AllowDbNull="false" AutogeneratedName="IdCloth" ColumnName="IdCloth" DataSourceName="FabrikaLDA.dbo.Cloth" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdCloth" SourceColumnNullMapping="false" SourceVersion="Current" />
  78. </Parameters>
  79. </DbCommand>
  80. </UpdateCommand>
  81. </DbSource>
  82. </MainSource>
  83. <Mappings>
  84. <Mapping SourceColumn="IdCloth" DataSetColumn="IdCloth" />
  85. <Mapping SourceColumn="Title" DataSetColumn="Title" />
  86. <Mapping SourceColumn="IdColor" DataSetColumn="IdColor" />
  87. <Mapping SourceColumn="Weight" DataSetColumn="Weight" />
  88. <Mapping SourceColumn="Height" DataSetColumn="Height" />
  89. <Mapping SourceColumn="Note" DataSetColumn="Note" />
  90. <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
  91. </Mappings>
  92. <Sources />
  93. </TableAdapter>
  94. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ColorsTableAdapter" GeneratorDataComponentClassName="ColorsTableAdapter" Name="Colors" UserDataComponentName="ColorsTableAdapter">
  95. <MainSource>
  96. <DbSource ConnectionRef="FabrikaLDAConnectionString (Settings)" DbObjectName="FabrikaLDA.dbo.Colors" 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">
  97. <DeleteCommand>
  98. <DbCommand CommandType="Text" ModifiedByUser="false">
  99. <CommandText>DELETE FROM [dbo].[Colors] WHERE (([IdColor] = @Original_IdColor) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)))</CommandText>
  100. <Parameters>
  101. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdColor" SourceColumnNullMapping="false" SourceVersion="Original" />
  102. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="true" SourceVersion="Original" />
  103. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
  104. </Parameters>
  105. </DbCommand>
  106. </DeleteCommand>
  107. <InsertCommand>
  108. <DbCommand CommandType="Text" ModifiedByUser="false">
  109. <CommandText>INSERT INTO [dbo].[Colors] ([Title]) VALUES (@Title);
  110. SELECT IdColor, Title FROM Colors WHERE (IdColor = SCOPE_IDENTITY())</CommandText>
  111. <Parameters>
  112. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  113. </Parameters>
  114. </DbCommand>
  115. </InsertCommand>
  116. <SelectCommand>
  117. <DbCommand CommandType="Text" ModifiedByUser="false">
  118. <CommandText>SELECT IdColor, Title FROM dbo.Colors</CommandText>
  119. <Parameters />
  120. </DbCommand>
  121. </SelectCommand>
  122. <UpdateCommand>
  123. <DbCommand CommandType="Text" ModifiedByUser="false">
  124. <CommandText>UPDATE [dbo].[Colors] SET [Title] = @Title WHERE (([IdColor] = @Original_IdColor) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)));
  125. SELECT IdColor, Title FROM Colors WHERE (IdColor = @IdColor)</CommandText>
  126. <Parameters>
  127. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  128. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdColor" SourceColumnNullMapping="false" SourceVersion="Original" />
  129. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="true" SourceVersion="Original" />
  130. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
  131. <Parameter AllowDbNull="false" AutogeneratedName="IdColor" ColumnName="IdColor" DataSourceName="FabrikaLDA.dbo.Colors" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdColor" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdColor" SourceColumnNullMapping="false" SourceVersion="Current" />
  132. </Parameters>
  133. </DbCommand>
  134. </UpdateCommand>
  135. </DbSource>
  136. </MainSource>
  137. <Mappings>
  138. <Mapping SourceColumn="IdColor" DataSetColumn="IdColor" />
  139. <Mapping SourceColumn="Title" DataSetColumn="Title" />
  140. </Mappings>
  141. <Sources />
  142. </TableAdapter>
  143. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FurnituraTableAdapter" GeneratorDataComponentClassName="FurnituraTableAdapter" Name="Furnitura" UserDataComponentName="FurnituraTableAdapter">
  144. <MainSource>
  145. <DbSource ConnectionRef="FabrikaLDAConnectionString (Settings)" DbObjectName="FabrikaLDA.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">
  146. <DeleteCommand>
  147. <DbCommand CommandType="Text" ModifiedByUser="false">
  148. <CommandText>DELETE FROM [dbo].[Furnitura] WHERE (([idfur] = @Original_idfur) AND ((@IsNull_namefur = 1 AND [namefur] IS NULL) OR ([namefur] = @Original_namefur)) AND ((@IsNull_photo = 1 AND [photo] IS NULL) OR ([photo] = @Original_photo)) AND ((@IsNull_countfur = 1 AND [countfur] IS NULL) OR ([countfur] = @Original_countfur)))</CommandText>
  149. <Parameters>
  150. <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" />
  151. <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" />
  152. <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" />
  153. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_photo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="true" SourceVersion="Original" />
  154. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="false" SourceVersion="Original" />
  155. <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" />
  156. <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" />
  157. </Parameters>
  158. </DbCommand>
  159. </DeleteCommand>
  160. <InsertCommand>
  161. <DbCommand CommandType="Text" ModifiedByUser="false">
  162. <CommandText>INSERT INTO [dbo].[Furnitura] ([namefur], [photo], [countfur]) VALUES (@namefur, @photo, @countfur);
  163. SELECT idfur, namefur, photo, countfur FROM Furnitura WHERE (idfur = SCOPE_IDENTITY())</CommandText>
  164. <Parameters>
  165. <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" />
  166. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  167. <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" />
  168. </Parameters>
  169. </DbCommand>
  170. </InsertCommand>
  171. <SelectCommand>
  172. <DbCommand CommandType="Text" ModifiedByUser="false">
  173. <CommandText>SELECT idfur, namefur, photo, countfur FROM dbo.Furnitura</CommandText>
  174. <Parameters />
  175. </DbCommand>
  176. </SelectCommand>
  177. <UpdateCommand>
  178. <DbCommand CommandType="Text" ModifiedByUser="false">
  179. <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_photo = 1 AND [photo] IS NULL) OR ([photo] = @Original_photo)) AND ((@IsNull_countfur = 1 AND [countfur] IS NULL) OR ([countfur] = @Original_countfur)));
  180. SELECT idfur, namefur, photo, countfur FROM Furnitura WHERE (idfur = @idfur)</CommandText>
  181. <Parameters>
  182. <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" />
  183. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  184. <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" />
  185. <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" />
  186. <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" />
  187. <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" />
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_photo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="true" SourceVersion="Original" />
  189. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="false" SourceVersion="Original" />
  190. <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" />
  191. <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" />
  192. <Parameter AllowDbNull="false" AutogeneratedName="idfur" ColumnName="idfur" DataSourceName="FabrikaLDA.dbo.Furnitura" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idfur" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idfur" SourceColumnNullMapping="false" SourceVersion="Current" />
  193. </Parameters>
  194. </DbCommand>
  195. </UpdateCommand>
  196. </DbSource>
  197. </MainSource>
  198. <Mappings>
  199. <Mapping SourceColumn="idfur" DataSetColumn="idfur" />
  200. <Mapping SourceColumn="namefur" DataSetColumn="namefur" />
  201. <Mapping SourceColumn="photo" DataSetColumn="photo" />
  202. <Mapping SourceColumn="countfur" DataSetColumn="countfur" />
  203. </Mappings>
  204. <Sources />
  205. </TableAdapter>
  206. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrdersTableAdapter" GeneratorDataComponentClassName="OrdersTableAdapter" Name="Orders" UserDataComponentName="OrdersTableAdapter">
  207. <MainSource>
  208. <DbSource ConnectionRef="FabrikaLDAConnectionString (Settings)" DbObjectName="FabrikaLDA.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">
  209. <DeleteCommand>
  210. <DbCommand CommandType="Text" ModifiedByUser="false">
  211. <CommandText>DELETE FROM [dbo].[Orders] WHERE (([IdOrder] = @Original_IdOrder) AND ((@IsNull_IdProduct = 1 AND [IdProduct] IS NULL) OR ([IdProduct] = @Original_IdProduct)) AND ((@IsNull_IdClient = 1 AND [IdClient] IS NULL) OR ([IdClient] = @Original_IdClient)) AND ((@IsNull_IdManager = 1 AND [IdManager] IS NULL) OR ([IdManager] = @Original_IdManager)) AND ((@IsNull_IdCloth = 1 AND [IdCloth] IS NULL) OR ([IdCloth] = @Original_IdCloth)) AND ((@IsNull_IdFur = 1 AND [IdFur] IS NULL) OR ([IdFur] = @Original_IdFur)) AND ((@IsNull_CountFurnitura = 1 AND [CountFurnitura] IS NULL) OR ([CountFurnitura] = @Original_CountFurnitura)) AND ((@IsNull_CountProduct = 1 AND [CountProduct] IS NULL) OR ([CountProduct] = @Original_CountProduct)))</CommandText>
  212. <Parameters>
  213. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdOrder" SourceColumnNullMapping="false" SourceVersion="Original" />
  214. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdProduct" SourceColumnNullMapping="true" SourceVersion="Original" />
  215. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdProduct" SourceColumnNullMapping="false" SourceVersion="Original" />
  216. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdClient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdClient" SourceColumnNullMapping="true" SourceVersion="Original" />
  217. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdClient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdClient" SourceColumnNullMapping="false" SourceVersion="Original" />
  218. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdManager" SourceColumnNullMapping="true" SourceVersion="Original" />
  219. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdManager" SourceColumnNullMapping="false" SourceVersion="Original" />
  220. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdCloth" SourceColumnNullMapping="true" SourceVersion="Original" />
  221. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdCloth" SourceColumnNullMapping="false" SourceVersion="Original" />
  222. <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" />
  223. <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" />
  224. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CountFurnitura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnitura" SourceColumnNullMapping="true" SourceVersion="Original" />
  225. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CountFurnitura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnitura" SourceColumnNullMapping="false" SourceVersion="Original" />
  226. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CountProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountProduct" SourceColumnNullMapping="true" SourceVersion="Original" />
  227. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CountProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountProduct" SourceColumnNullMapping="false" SourceVersion="Original" />
  228. </Parameters>
  229. </DbCommand>
  230. </DeleteCommand>
  231. <InsertCommand>
  232. <DbCommand CommandType="Text" ModifiedByUser="false">
  233. <CommandText>INSERT INTO [dbo].[Orders] ([IdProduct], [IdClient], [IdManager], [IdCloth], [IdFur], [CountFurnitura], [CountProduct]) VALUES (@IdProduct, @IdClient, @IdManager, @IdCloth, @IdFur, @CountFurnitura, @CountProduct);
  234. SELECT IdOrder, IdProduct, IdClient, IdManager, IdCloth, IdFur, CountFurnitura, CountProduct FROM Orders WHERE (IdOrder = SCOPE_IDENTITY())</CommandText>
  235. <Parameters>
  236. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdProduct" SourceColumnNullMapping="false" SourceVersion="Current" />
  237. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdClient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdClient" SourceColumnNullMapping="false" SourceVersion="Current" />
  238. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdManager" SourceColumnNullMapping="false" SourceVersion="Current" />
  239. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdCloth" SourceColumnNullMapping="false" SourceVersion="Current" />
  240. <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" />
  241. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CountFurnitura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnitura" SourceColumnNullMapping="false" SourceVersion="Current" />
  242. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CountProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountProduct" SourceColumnNullMapping="false" SourceVersion="Current" />
  243. </Parameters>
  244. </DbCommand>
  245. </InsertCommand>
  246. <SelectCommand>
  247. <DbCommand CommandType="Text" ModifiedByUser="false">
  248. <CommandText>SELECT IdOrder, IdProduct, IdClient, IdManager, IdCloth, IdFur, CountFurnitura, CountProduct FROM dbo.Orders</CommandText>
  249. <Parameters />
  250. </DbCommand>
  251. </SelectCommand>
  252. <UpdateCommand>
  253. <DbCommand CommandType="Text" ModifiedByUser="false">
  254. <CommandText>UPDATE [dbo].[Orders] SET [IdProduct] = @IdProduct, [IdClient] = @IdClient, [IdManager] = @IdManager, [IdCloth] = @IdCloth, [IdFur] = @IdFur, [CountFurnitura] = @CountFurnitura, [CountProduct] = @CountProduct WHERE (([IdOrder] = @Original_IdOrder) AND ((@IsNull_IdProduct = 1 AND [IdProduct] IS NULL) OR ([IdProduct] = @Original_IdProduct)) AND ((@IsNull_IdClient = 1 AND [IdClient] IS NULL) OR ([IdClient] = @Original_IdClient)) AND ((@IsNull_IdManager = 1 AND [IdManager] IS NULL) OR ([IdManager] = @Original_IdManager)) AND ((@IsNull_IdCloth = 1 AND [IdCloth] IS NULL) OR ([IdCloth] = @Original_IdCloth)) AND ((@IsNull_IdFur = 1 AND [IdFur] IS NULL) OR ([IdFur] = @Original_IdFur)) AND ((@IsNull_CountFurnitura = 1 AND [CountFurnitura] IS NULL) OR ([CountFurnitura] = @Original_CountFurnitura)) AND ((@IsNull_CountProduct = 1 AND [CountProduct] IS NULL) OR ([CountProduct] = @Original_CountProduct)));
  255. SELECT IdOrder, IdProduct, IdClient, IdManager, IdCloth, IdFur, CountFurnitura, CountProduct FROM Orders WHERE (IdOrder = @IdOrder)</CommandText>
  256. <Parameters>
  257. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdProduct" SourceColumnNullMapping="false" SourceVersion="Current" />
  258. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdClient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdClient" SourceColumnNullMapping="false" SourceVersion="Current" />
  259. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdManager" SourceColumnNullMapping="false" SourceVersion="Current" />
  260. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdCloth" SourceColumnNullMapping="false" SourceVersion="Current" />
  261. <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" />
  262. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CountFurnitura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnitura" SourceColumnNullMapping="false" SourceVersion="Current" />
  263. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CountProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountProduct" SourceColumnNullMapping="false" SourceVersion="Current" />
  264. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdOrder" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdOrder" SourceColumnNullMapping="false" SourceVersion="Original" />
  265. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdProduct" SourceColumnNullMapping="true" SourceVersion="Original" />
  266. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdProduct" SourceColumnNullMapping="false" SourceVersion="Original" />
  267. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdClient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdClient" SourceColumnNullMapping="true" SourceVersion="Original" />
  268. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdClient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdClient" SourceColumnNullMapping="false" SourceVersion="Original" />
  269. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdManager" SourceColumnNullMapping="true" SourceVersion="Original" />
  270. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdManager" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdManager" SourceColumnNullMapping="false" SourceVersion="Original" />
  271. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdCloth" SourceColumnNullMapping="true" SourceVersion="Original" />
  272. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdCloth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdCloth" SourceColumnNullMapping="false" SourceVersion="Original" />
  273. <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" />
  274. <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" />
  275. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CountFurnitura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnitura" SourceColumnNullMapping="true" SourceVersion="Original" />
  276. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CountFurnitura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountFurnitura" SourceColumnNullMapping="false" SourceVersion="Original" />
  277. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CountProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountProduct" SourceColumnNullMapping="true" SourceVersion="Original" />
  278. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CountProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CountProduct" SourceColumnNullMapping="false" SourceVersion="Original" />
  279. <Parameter AllowDbNull="false" AutogeneratedName="IdOrder" ColumnName="IdOrder" DataSourceName="FabrikaLDA.dbo.Orders" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdOrder" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdOrder" SourceColumnNullMapping="false" SourceVersion="Current" />
  280. </Parameters>
  281. </DbCommand>
  282. </UpdateCommand>
  283. </DbSource>
  284. </MainSource>
  285. <Mappings>
  286. <Mapping SourceColumn="IdOrder" DataSetColumn="IdOrder" />
  287. <Mapping SourceColumn="IdProduct" DataSetColumn="IdProduct" />
  288. <Mapping SourceColumn="IdClient" DataSetColumn="IdClient" />
  289. <Mapping SourceColumn="IdManager" DataSetColumn="IdManager" />
  290. <Mapping SourceColumn="IdCloth" DataSetColumn="IdCloth" />
  291. <Mapping SourceColumn="IdFur" DataSetColumn="IdFur" />
  292. <Mapping SourceColumn="CountFurnitura" DataSetColumn="CountFurnitura" />
  293. <Mapping SourceColumn="CountProduct" DataSetColumn="CountProduct" />
  294. </Mappings>
  295. <Sources />
  296. </TableAdapter>
  297. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductsTableAdapter" GeneratorDataComponentClassName="ProductsTableAdapter" Name="Products" UserDataComponentName="ProductsTableAdapter">
  298. <MainSource>
  299. <DbSource ConnectionRef="FabrikaLDAConnectionString (Settings)" DbObjectName="FabrikaLDA.dbo.Products" 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">
  300. <DeleteCommand>
  301. <DbCommand CommandType="Text" ModifiedByUser="false">
  302. <CommandText>DELETE FROM [dbo].[Products] WHERE (([IdProduct] = @Original_IdProduct) AND ((@IsNull_TitleProduct = 1 AND [TitleProduct] IS NULL) OR ([TitleProduct] = @Original_TitleProduct)) AND ((@IsNull_Lenght = 1 AND [Lenght] IS NULL) OR ([Lenght] = @Original_Lenght)) AND ((@IsNull_Width = 1 AND [Width] IS NULL) OR ([Width] = @Original_Width)))</CommandText>
  303. <Parameters>
  304. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdProduct" SourceColumnNullMapping="false" SourceVersion="Original" />
  305. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TitleProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TitleProduct" SourceColumnNullMapping="true" SourceVersion="Original" />
  306. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TitleProduct" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TitleProduct" SourceColumnNullMapping="false" SourceVersion="Original" />
  307. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Lenght" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lenght" SourceColumnNullMapping="true" SourceVersion="Original" />
  308. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Lenght" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lenght" SourceColumnNullMapping="false" SourceVersion="Original" />
  309. <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" />
  310. <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" />
  311. </Parameters>
  312. </DbCommand>
  313. </DeleteCommand>
  314. <InsertCommand>
  315. <DbCommand CommandType="Text" ModifiedByUser="false">
  316. <CommandText>INSERT INTO [dbo].[Products] ([TitleProduct], [Lenght], [Width]) VALUES (@TitleProduct, @Lenght, @Width);
  317. SELECT IdProduct, TitleProduct, Lenght, Width FROM Products WHERE (IdProduct = SCOPE_IDENTITY())</CommandText>
  318. <Parameters>
  319. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TitleProduct" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TitleProduct" SourceColumnNullMapping="false" SourceVersion="Current" />
  320. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Lenght" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lenght" SourceColumnNullMapping="false" SourceVersion="Current" />
  321. <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" />
  322. </Parameters>
  323. </DbCommand>
  324. </InsertCommand>
  325. <SelectCommand>
  326. <DbCommand CommandType="Text" ModifiedByUser="false">
  327. <CommandText>SELECT IdProduct, TitleProduct, Lenght, Width FROM dbo.Products</CommandText>
  328. <Parameters />
  329. </DbCommand>
  330. </SelectCommand>
  331. <UpdateCommand>
  332. <DbCommand CommandType="Text" ModifiedByUser="false">
  333. <CommandText>UPDATE [dbo].[Products] SET [TitleProduct] = @TitleProduct, [Lenght] = @Lenght, [Width] = @Width WHERE (([IdProduct] = @Original_IdProduct) AND ((@IsNull_TitleProduct = 1 AND [TitleProduct] IS NULL) OR ([TitleProduct] = @Original_TitleProduct)) AND ((@IsNull_Lenght = 1 AND [Lenght] IS NULL) OR ([Lenght] = @Original_Lenght)) AND ((@IsNull_Width = 1 AND [Width] IS NULL) OR ([Width] = @Original_Width)));
  334. SELECT IdProduct, TitleProduct, Lenght, Width FROM Products WHERE (IdProduct = @IdProduct)</CommandText>
  335. <Parameters>
  336. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TitleProduct" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TitleProduct" SourceColumnNullMapping="false" SourceVersion="Current" />
  337. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Lenght" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lenght" SourceColumnNullMapping="false" SourceVersion="Current" />
  338. <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" />
  339. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdProduct" SourceColumnNullMapping="false" SourceVersion="Original" />
  340. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TitleProduct" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TitleProduct" SourceColumnNullMapping="true" SourceVersion="Original" />
  341. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TitleProduct" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TitleProduct" SourceColumnNullMapping="false" SourceVersion="Original" />
  342. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Lenght" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lenght" SourceColumnNullMapping="true" SourceVersion="Original" />
  343. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Lenght" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lenght" SourceColumnNullMapping="false" SourceVersion="Original" />
  344. <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" />
  345. <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" />
  346. <Parameter AllowDbNull="false" AutogeneratedName="IdProduct" ColumnName="IdProduct" DataSourceName="FabrikaLDA.dbo.Products" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdProduct" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdProduct" SourceColumnNullMapping="false" SourceVersion="Current" />
  347. </Parameters>
  348. </DbCommand>
  349. </UpdateCommand>
  350. </DbSource>
  351. </MainSource>
  352. <Mappings>
  353. <Mapping SourceColumn="IdProduct" DataSetColumn="IdProduct" />
  354. <Mapping SourceColumn="TitleProduct" DataSetColumn="TitleProduct" />
  355. <Mapping SourceColumn="Lenght" DataSetColumn="Lenght" />
  356. <Mapping SourceColumn="Width" DataSetColumn="Width" />
  357. </Mappings>
  358. <Sources />
  359. </TableAdapter>
  360. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RolesTableAdapter" GeneratorDataComponentClassName="RolesTableAdapter" Name="Roles" UserDataComponentName="RolesTableAdapter">
  361. <MainSource>
  362. <DbSource ConnectionRef="FabrikaLDAConnectionString (Settings)" DbObjectName="FabrikaLDA.dbo.Roles" 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">
  363. <DeleteCommand>
  364. <DbCommand CommandType="Text" ModifiedByUser="false">
  365. <CommandText>DELETE FROM [dbo].[Roles] WHERE (([IdRole] = @Original_IdRole) AND ([Title] = @Original_Title))</CommandText>
  366. <Parameters>
  367. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdRole" SourceColumnNullMapping="false" SourceVersion="Original" />
  368. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
  369. </Parameters>
  370. </DbCommand>
  371. </DeleteCommand>
  372. <InsertCommand>
  373. <DbCommand CommandType="Text" ModifiedByUser="false">
  374. <CommandText>INSERT INTO [dbo].[Roles] ([IdRole], [Title]) VALUES (@IdRole, @Title);
  375. SELECT IdRole, Title FROM Roles WHERE (IdRole = @IdRole)</CommandText>
  376. <Parameters>
  377. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdRole" SourceColumnNullMapping="false" SourceVersion="Current" />
  378. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  379. </Parameters>
  380. </DbCommand>
  381. </InsertCommand>
  382. <SelectCommand>
  383. <DbCommand CommandType="Text" ModifiedByUser="false">
  384. <CommandText>SELECT IdRole, Title FROM dbo.Roles</CommandText>
  385. <Parameters />
  386. </DbCommand>
  387. </SelectCommand>
  388. <UpdateCommand>
  389. <DbCommand CommandType="Text" ModifiedByUser="false">
  390. <CommandText>UPDATE [dbo].[Roles] SET [IdRole] = @IdRole, [Title] = @Title WHERE (([IdRole] = @Original_IdRole) AND ([Title] = @Original_Title));
  391. SELECT IdRole, Title FROM Roles WHERE (IdRole = @IdRole)</CommandText>
  392. <Parameters>
  393. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdRole" SourceColumnNullMapping="false" SourceVersion="Current" />
  394. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  395. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdRole" SourceColumnNullMapping="false" SourceVersion="Original" />
  396. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
  397. </Parameters>
  398. </DbCommand>
  399. </UpdateCommand>
  400. </DbSource>
  401. </MainSource>
  402. <Mappings>
  403. <Mapping SourceColumn="IdRole" DataSetColumn="IdRole" />
  404. <Mapping SourceColumn="Title" DataSetColumn="Title" />
  405. </Mappings>
  406. <Sources />
  407. </TableAdapter>
  408. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
  409. <MainSource>
  410. <DbSource ConnectionRef="FabrikaLDAConnectionString (Settings)" DbObjectName="FabrikaLDA.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">
  411. <DeleteCommand>
  412. <DbCommand CommandType="Text" ModifiedByUser="false">
  413. <CommandText>DELETE FROM [dbo].[Users] WHERE (([IdUser] = @Original_IdUser) AND ((@IsNull_Login = 1 AND [Login] IS NULL) OR ([Login] = @Original_Login)) AND ((@IsNull_Password = 1 AND [Password] IS NULL) OR ([Password] = @Original_Password)) 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>
  414. <Parameters>
  415. <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" />
  416. <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" />
  417. <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" />
  418. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="true" SourceVersion="Original" />
  419. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
  420. <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" />
  421. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Original" />
  422. <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" />
  423. <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" />
  424. <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" />
  425. <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" />
  426. <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" />
  427. <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" />
  428. <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" />
  429. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
  430. </Parameters>
  431. </DbCommand>
  432. </DeleteCommand>
  433. <InsertCommand>
  434. <DbCommand CommandType="Text" ModifiedByUser="false">
  435. <CommandText>INSERT INTO [dbo].[Users] ([Login], [Password], [Role], [Fam], [Name], [Otch], [Phone]) VALUES (@Login, @Password, @Role, @Fam, @Name, @Otch, @Phone);
  436. SELECT IdUser, Login, Password, Role, Fam, Name, Otch, Phone FROM Users WHERE (IdUser = SCOPE_IDENTITY())</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="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
  440. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Current" />
  441. <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" />
  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="AnsiStringFixedLength" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
  445. </Parameters>
  446. </DbCommand>
  447. </InsertCommand>
  448. <SelectCommand>
  449. <DbCommand CommandType="Text" ModifiedByUser="false">
  450. <CommandText>SELECT IdUser, Login, Password, Role, Fam, Name, Otch, Phone FROM dbo.Users</CommandText>
  451. <Parameters />
  452. </DbCommand>
  453. </SelectCommand>
  454. <UpdateCommand>
  455. <DbCommand CommandType="Text" ModifiedByUser="false">
  456. <CommandText>UPDATE [dbo].[Users] SET [Login] = @Login, [Password] = @Password, [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_Password = 1 AND [Password] IS NULL) OR ([Password] = @Original_Password)) 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)));
  457. SELECT IdUser, Login, Password, Role, Fam, Name, Otch, Phone FROM Users WHERE (IdUser = @IdUser)</CommandText>
  458. <Parameters>
  459. <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" />
  460. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
  461. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Current" />
  462. <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" />
  463. <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" />
  464. <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" />
  465. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
  466. <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" />
  467. <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" />
  468. <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" />
  469. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="true" SourceVersion="Original" />
  470. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
  471. <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" />
  472. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Original" />
  473. <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" />
  474. <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" />
  475. <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" />
  476. <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" />
  477. <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" />
  478. <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" />
  479. <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" />
  480. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
  481. <Parameter AllowDbNull="false" AutogeneratedName="IdUser" ColumnName="IdUser" DataSourceName="FabrikaLDA.dbo.Users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdUser" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdUser" SourceColumnNullMapping="false" SourceVersion="Current" />
  482. </Parameters>
  483. </DbCommand>
  484. </UpdateCommand>
  485. </DbSource>
  486. </MainSource>
  487. <Mappings>
  488. <Mapping SourceColumn="IdUser" DataSetColumn="IdUser" />
  489. <Mapping SourceColumn="Login" DataSetColumn="Login" />
  490. <Mapping SourceColumn="Password" DataSetColumn="Password" />
  491. <Mapping SourceColumn="Role" DataSetColumn="Role" />
  492. <Mapping SourceColumn="Fam" DataSetColumn="Fam" />
  493. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  494. <Mapping SourceColumn="Otch" DataSetColumn="Otch" />
  495. <Mapping SourceColumn="Phone" DataSetColumn="Phone" />
  496. </Mappings>
  497. <Sources />
  498. </TableAdapter>
  499. </Tables>
  500. <Sources />
  501. </DataSource>
  502. </xs:appinfo>
  503. </xs:annotation>
  504. <xs:element name="FabrikaLDADataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="FabrikaLDADataSet" msprop:Generator_DataSetName="FabrikaLDADataSet">
  505. <xs:complexType>
  506. <xs:choice minOccurs="0" maxOccurs="unbounded">
  507. <xs:element name="Cloth" msprop:Generator_RowEvHandlerName="ClothRowChangeEventHandler" msprop:Generator_RowDeletedName="ClothRowDeleted" msprop:Generator_RowDeletingName="ClothRowDeleting" msprop:Generator_RowEvArgName="ClothRowChangeEvent" msprop:Generator_TablePropName="Cloth" msprop:Generator_RowChangedName="ClothRowChanged" msprop:Generator_RowChangingName="ClothRowChanging" msprop:Generator_TableClassName="ClothDataTable" msprop:Generator_RowClassName="ClothRow" msprop:Generator_TableVarName="tableCloth" msprop:Generator_UserTableName="Cloth">
  508. <xs:complexType>
  509. <xs:sequence>
  510. <xs:element name="IdCloth" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="IdCloth" msprop:Generator_ColumnPropNameInTable="IdClothColumn" msprop:Generator_ColumnVarNameInTable="columnIdCloth" msprop:Generator_UserColumnName="IdCloth" type="xs:int" />
  511. <xs:element name="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_UserColumnName="Title" 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:element name="IdColor" msprop:Generator_ColumnPropNameInRow="IdColor" msprop:Generator_ColumnPropNameInTable="IdColorColumn" msprop:Generator_ColumnVarNameInTable="columnIdColor" msprop:Generator_UserColumnName="IdColor" type="xs:int" minOccurs="0" />
  519. <xs:element name="Weight" msprop:Generator_ColumnPropNameInRow="Weight" msprop:Generator_ColumnPropNameInTable="WeightColumn" msprop:Generator_ColumnVarNameInTable="columnWeight" msprop:Generator_UserColumnName="Weight" type="xs:int" minOccurs="0" />
  520. <xs:element name="Height" msprop:Generator_ColumnPropNameInRow="Height" msprop:Generator_ColumnPropNameInTable="HeightColumn" msprop:Generator_ColumnVarNameInTable="columnHeight" msprop:Generator_UserColumnName="Height" type="xs:int" minOccurs="0" />
  521. <xs:element name="Note" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_UserColumnName="Note" minOccurs="0">
  522. <xs:simpleType>
  523. <xs:restriction base="xs:string">
  524. <xs:maxLength value="50" />
  525. </xs:restriction>
  526. </xs:simpleType>
  527. </xs:element>
  528. <xs:element name="Photo" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_UserColumnName="Photo" minOccurs="0">
  529. <xs:simpleType>
  530. <xs:restriction base="xs:string">
  531. <xs:maxLength value="50" />
  532. </xs:restriction>
  533. </xs:simpleType>
  534. </xs:element>
  535. </xs:sequence>
  536. </xs:complexType>
  537. </xs:element>
  538. <xs:element name="Colors" msprop:Generator_RowEvHandlerName="ColorsRowChangeEventHandler" msprop:Generator_RowDeletedName="ColorsRowDeleted" msprop:Generator_RowDeletingName="ColorsRowDeleting" msprop:Generator_RowEvArgName="ColorsRowChangeEvent" msprop:Generator_TablePropName="Colors" msprop:Generator_RowChangedName="ColorsRowChanged" msprop:Generator_RowChangingName="ColorsRowChanging" msprop:Generator_TableClassName="ColorsDataTable" msprop:Generator_RowClassName="ColorsRow" msprop:Generator_TableVarName="tableColors" msprop:Generator_UserTableName="Colors">
  539. <xs:complexType>
  540. <xs:sequence>
  541. <xs:element name="IdColor" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="IdColor" msprop:Generator_ColumnPropNameInTable="IdColorColumn" msprop:Generator_ColumnVarNameInTable="columnIdColor" msprop:Generator_UserColumnName="IdColor" type="xs:int" />
  542. <xs:element name="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_UserColumnName="Title" minOccurs="0">
  543. <xs:simpleType>
  544. <xs:restriction base="xs:string">
  545. <xs:maxLength value="50" />
  546. </xs:restriction>
  547. </xs:simpleType>
  548. </xs:element>
  549. </xs:sequence>
  550. </xs:complexType>
  551. </xs:element>
  552. <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">
  553. <xs:complexType>
  554. <xs:sequence>
  555. <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" />
  556. <xs:element name="namefur" msprop:Generator_ColumnPropNameInRow="namefur" msprop:Generator_ColumnPropNameInTable="namefurColumn" msprop:Generator_ColumnVarNameInTable="columnnamefur" msprop:Generator_UserColumnName="namefur" minOccurs="0">
  557. <xs:simpleType>
  558. <xs:restriction base="xs:string">
  559. <xs:maxLength value="50" />
  560. </xs:restriction>
  561. </xs:simpleType>
  562. </xs:element>
  563. <xs:element name="photo" msprop:Generator_ColumnPropNameInRow="photo" msprop:Generator_ColumnPropNameInTable="photoColumn" msprop:Generator_ColumnVarNameInTable="columnphoto" msprop:Generator_UserColumnName="photo" minOccurs="0">
  564. <xs:simpleType>
  565. <xs:restriction base="xs:string">
  566. <xs:maxLength value="50" />
  567. </xs:restriction>
  568. </xs:simpleType>
  569. </xs:element>
  570. <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" />
  571. </xs:sequence>
  572. </xs:complexType>
  573. </xs:element>
  574. <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">
  575. <xs:complexType>
  576. <xs:sequence>
  577. <xs:element name="IdOrder" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="IdOrder" msprop:Generator_ColumnPropNameInTable="IdOrderColumn" msprop:Generator_ColumnVarNameInTable="columnIdOrder" msprop:Generator_UserColumnName="IdOrder" type="xs:int" />
  578. <xs:element name="IdProduct" msprop:Generator_ColumnPropNameInRow="IdProduct" msprop:Generator_ColumnPropNameInTable="IdProductColumn" msprop:Generator_ColumnVarNameInTable="columnIdProduct" msprop:Generator_UserColumnName="IdProduct" type="xs:int" minOccurs="0" />
  579. <xs:element name="IdClient" msprop:Generator_ColumnPropNameInRow="IdClient" msprop:Generator_ColumnPropNameInTable="IdClientColumn" msprop:Generator_ColumnVarNameInTable="columnIdClient" msprop:Generator_UserColumnName="IdClient" type="xs:int" minOccurs="0" />
  580. <xs:element name="IdManager" msprop:Generator_ColumnPropNameInRow="IdManager" msprop:Generator_ColumnPropNameInTable="IdManagerColumn" msprop:Generator_ColumnVarNameInTable="columnIdManager" msprop:Generator_UserColumnName="IdManager" type="xs:int" minOccurs="0" />
  581. <xs:element name="IdCloth" msprop:Generator_ColumnPropNameInRow="IdCloth" msprop:Generator_ColumnPropNameInTable="IdClothColumn" msprop:Generator_ColumnVarNameInTable="columnIdCloth" msprop:Generator_UserColumnName="IdCloth" type="xs:int" minOccurs="0" />
  582. <xs:element name="IdFur" msprop:Generator_ColumnPropNameInRow="IdFur" msprop:Generator_ColumnPropNameInTable="IdFurColumn" msprop:Generator_ColumnVarNameInTable="columnIdFur" msprop:Generator_UserColumnName="IdFur" type="xs:int" minOccurs="0" />
  583. <xs:element name="CountFurnitura" msprop:Generator_ColumnPropNameInRow="CountFurnitura" msprop:Generator_ColumnPropNameInTable="CountFurnituraColumn" msprop:Generator_ColumnVarNameInTable="columnCountFurnitura" msprop:Generator_UserColumnName="CountFurnitura" type="xs:int" minOccurs="0" />
  584. <xs:element name="CountProduct" msprop:Generator_ColumnPropNameInRow="CountProduct" msprop:Generator_ColumnPropNameInTable="CountProductColumn" msprop:Generator_ColumnVarNameInTable="columnCountProduct" msprop:Generator_UserColumnName="CountProduct" type="xs:int" minOccurs="0" />
  585. </xs:sequence>
  586. </xs:complexType>
  587. </xs:element>
  588. <xs:element name="Products" msprop:Generator_RowEvHandlerName="ProductsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductsRowDeleted" msprop:Generator_RowDeletingName="ProductsRowDeleting" msprop:Generator_RowEvArgName="ProductsRowChangeEvent" msprop:Generator_TablePropName="Products" msprop:Generator_RowChangedName="ProductsRowChanged" msprop:Generator_RowChangingName="ProductsRowChanging" msprop:Generator_TableClassName="ProductsDataTable" msprop:Generator_RowClassName="ProductsRow" msprop:Generator_TableVarName="tableProducts" msprop:Generator_UserTableName="Products">
  589. <xs:complexType>
  590. <xs:sequence>
  591. <xs:element name="IdProduct" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="IdProduct" msprop:Generator_ColumnPropNameInTable="IdProductColumn" msprop:Generator_ColumnVarNameInTable="columnIdProduct" msprop:Generator_UserColumnName="IdProduct" type="xs:int" />
  592. <xs:element name="TitleProduct" msprop:Generator_ColumnPropNameInRow="TitleProduct" msprop:Generator_ColumnPropNameInTable="TitleProductColumn" msprop:Generator_ColumnVarNameInTable="columnTitleProduct" msprop:Generator_UserColumnName="TitleProduct" minOccurs="0">
  593. <xs:simpleType>
  594. <xs:restriction base="xs:string">
  595. <xs:maxLength value="50" />
  596. </xs:restriction>
  597. </xs:simpleType>
  598. </xs:element>
  599. <xs:element name="Lenght" msprop:Generator_ColumnPropNameInRow="Lenght" msprop:Generator_ColumnPropNameInTable="LenghtColumn" msprop:Generator_ColumnVarNameInTable="columnLenght" msprop:Generator_UserColumnName="Lenght" type="xs:int" minOccurs="0" />
  600. <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" />
  601. </xs:sequence>
  602. </xs:complexType>
  603. </xs:element>
  604. <xs:element name="Roles" msprop:Generator_RowEvHandlerName="RolesRowChangeEventHandler" msprop:Generator_RowDeletedName="RolesRowDeleted" msprop:Generator_RowDeletingName="RolesRowDeleting" msprop:Generator_RowEvArgName="RolesRowChangeEvent" msprop:Generator_TablePropName="Roles" msprop:Generator_RowChangedName="RolesRowChanged" msprop:Generator_RowChangingName="RolesRowChanging" msprop:Generator_TableClassName="RolesDataTable" msprop:Generator_RowClassName="RolesRow" msprop:Generator_TableVarName="tableRoles" msprop:Generator_UserTableName="Roles">
  605. <xs:complexType>
  606. <xs:sequence>
  607. <xs:element name="IdRole" msprop:Generator_ColumnPropNameInRow="IdRole" msprop:Generator_ColumnPropNameInTable="IdRoleColumn" msprop:Generator_ColumnVarNameInTable="columnIdRole" msprop:Generator_UserColumnName="IdRole" type="xs:int" />
  608. <xs:element name="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_UserColumnName="Title">
  609. <xs:simpleType>
  610. <xs:restriction base="xs:string">
  611. <xs:maxLength value="50" />
  612. </xs:restriction>
  613. </xs:simpleType>
  614. </xs:element>
  615. </xs:sequence>
  616. </xs:complexType>
  617. </xs:element>
  618. <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">
  619. <xs:complexType>
  620. <xs:sequence>
  621. <xs:element name="IdUser" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="IdUser" msprop:Generator_ColumnPropNameInTable="IdUserColumn" msprop:Generator_ColumnVarNameInTable="columnIdUser" msprop:Generator_UserColumnName="IdUser" type="xs:int" />
  622. <xs:element name="Login" msprop:Generator_ColumnPropNameInRow="Login" msprop:Generator_ColumnPropNameInTable="LoginColumn" msprop:Generator_ColumnVarNameInTable="columnLogin" msprop:Generator_UserColumnName="Login" minOccurs="0">
  623. <xs:simpleType>
  624. <xs:restriction base="xs:string">
  625. <xs:maxLength value="50" />
  626. </xs:restriction>
  627. </xs:simpleType>
  628. </xs:element>
  629. <xs:element name="Password" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_UserColumnName="Password" minOccurs="0">
  630. <xs:simpleType>
  631. <xs:restriction base="xs:string">
  632. <xs:maxLength value="50" />
  633. </xs:restriction>
  634. </xs:simpleType>
  635. </xs:element>
  636. <xs:element name="Role" msprop:Generator_ColumnPropNameInRow="Role" msprop:Generator_ColumnPropNameInTable="RoleColumn" msprop:Generator_ColumnVarNameInTable="columnRole" msprop:Generator_UserColumnName="Role" type="xs:int" minOccurs="0" />
  637. <xs:element name="Fam" msprop:Generator_ColumnPropNameInRow="Fam" msprop:Generator_ColumnPropNameInTable="FamColumn" msprop:Generator_ColumnVarNameInTable="columnFam" msprop:Generator_UserColumnName="Fam" minOccurs="0">
  638. <xs:simpleType>
  639. <xs:restriction base="xs:string">
  640. <xs:maxLength value="50" />
  641. </xs:restriction>
  642. </xs:simpleType>
  643. </xs:element>
  644. <xs:element name="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_UserColumnName="Name" minOccurs="0">
  645. <xs:simpleType>
  646. <xs:restriction base="xs:string">
  647. <xs:maxLength value="50" />
  648. </xs:restriction>
  649. </xs:simpleType>
  650. </xs:element>
  651. <xs:element name="Otch" msprop:Generator_ColumnPropNameInRow="Otch" msprop:Generator_ColumnPropNameInTable="OtchColumn" msprop:Generator_ColumnVarNameInTable="columnOtch" msprop:Generator_UserColumnName="Otch" minOccurs="0">
  652. <xs:simpleType>
  653. <xs:restriction base="xs:string">
  654. <xs:maxLength value="50" />
  655. </xs:restriction>
  656. </xs:simpleType>
  657. </xs:element>
  658. <xs:element name="Phone" msprop:Generator_ColumnPropNameInRow="Phone" msprop:Generator_ColumnPropNameInTable="PhoneColumn" msprop:Generator_ColumnVarNameInTable="columnPhone" msprop:Generator_UserColumnName="Phone" minOccurs="0">
  659. <xs:simpleType>
  660. <xs:restriction base="xs:string">
  661. <xs:maxLength value="20" />
  662. </xs:restriction>
  663. </xs:simpleType>
  664. </xs:element>
  665. </xs:sequence>
  666. </xs:complexType>
  667. </xs:element>
  668. </xs:choice>
  669. </xs:complexType>
  670. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  671. <xs:selector xpath=".//mstns:Cloth" />
  672. <xs:field xpath="mstns:IdCloth" />
  673. </xs:unique>
  674. <xs:unique name="Colors_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  675. <xs:selector xpath=".//mstns:Colors" />
  676. <xs:field xpath="mstns:IdColor" />
  677. </xs:unique>
  678. <xs:unique name="Furnitura_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  679. <xs:selector xpath=".//mstns:Furnitura" />
  680. <xs:field xpath="mstns:idfur" />
  681. </xs:unique>
  682. <xs:unique name="Orders_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  683. <xs:selector xpath=".//mstns:Orders" />
  684. <xs:field xpath="mstns:IdOrder" />
  685. </xs:unique>
  686. <xs:unique name="Products_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  687. <xs:selector xpath=".//mstns:Products" />
  688. <xs:field xpath="mstns:IdProduct" />
  689. </xs:unique>
  690. <xs:unique name="Roles_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  691. <xs:selector xpath=".//mstns:Roles" />
  692. <xs:field xpath="mstns:IdRole" />
  693. </xs:unique>
  694. <xs:unique name="Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  695. <xs:selector xpath=".//mstns:Users" />
  696. <xs:field xpath="mstns:IdUser" />
  697. </xs:unique>
  698. </xs:element>
  699. <xs:annotation>
  700. <xs:appinfo>
  701. <msdata:Relationship name="FK_Cloth_Colors" msdata:parent="Colors" msdata:child="Cloth" msdata:parentkey="IdColor" msdata:childkey="IdColor" msprop:Generator_UserParentTable="Colors" msprop:Generator_UserChildTable="Cloth" msprop:Generator_RelationVarName="relationFK_Cloth_Colors" msprop:Generator_UserRelationName="FK_Cloth_Colors" msprop:Generator_ChildPropName="GetClothRows" msprop:Generator_ParentPropName="ColorsRow" />
  702. <msdata:Relationship name="FK_Orders_Cloth" msdata:parent="Cloth" msdata:child="Orders" msdata:parentkey="IdCloth" msdata:childkey="IdCloth" msprop:Generator_UserParentTable="Cloth" msprop:Generator_UserChildTable="Orders" msprop:Generator_RelationVarName="relationFK_Orders_Cloth" msprop:Generator_ChildPropName="GetOrdersRows" msprop:Generator_ParentPropName="ClothRow" msprop:Generator_UserRelationName="FK_Orders_Cloth" />
  703. <msdata:Relationship name="FK_Orders_Furnitura" msdata:parent="Furnitura" msdata:child="Orders" msdata:parentkey="idfur" msdata:childkey="IdFur" 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" />
  704. <msdata:Relationship name="FK_Orders_Products" msdata:parent="Products" msdata:child="Orders" msdata:parentkey="IdProduct" msdata:childkey="IdProduct" msprop:Generator_UserParentTable="Products" msprop:Generator_UserChildTable="Orders" msprop:Generator_RelationVarName="relationFK_Orders_Products" msprop:Generator_UserRelationName="FK_Orders_Products" msprop:Generator_ChildPropName="GetOrdersRows" msprop:Generator_ParentPropName="ProductsRow" />
  705. <msdata:Relationship name="FK_Orders_Users_Client" msdata:parent="Users" msdata:child="Orders" msdata:parentkey="IdUser" msdata:childkey="IdClient" msprop:Generator_UserParentTable="Users" msprop:Generator_UserChildTable="Orders" msprop:Generator_RelationVarName="relationFK_Orders_Users_Client" msprop:Generator_UserRelationName="FK_Orders_Users_Client" msprop:Generator_ChildPropName="GetOrdersRowsByFK_Orders_Users_Client" msprop:Generator_ParentPropName="UsersRowByFK_Orders_Users_Client" />
  706. <msdata:Relationship name="FK_Orders_Users_Manager" msdata:parent="Users" msdata:child="Orders" msdata:parentkey="IdUser" msdata:childkey="IdManager" msprop:Generator_UserParentTable="Users" msprop:Generator_UserChildTable="Orders" msprop:Generator_RelationVarName="relationFK_Orders_Users_Manager" msprop:Generator_UserRelationName="FK_Orders_Users_Manager" msprop:Generator_ChildPropName="GetOrdersRowsByFK_Orders_Users_Manager" msprop:Generator_ParentPropName="UsersRowByFK_Orders_Users_Manager" />
  707. <msdata:Relationship name="FK_Users_Roles" msdata:parent="Roles" msdata:child="Users" msdata:parentkey="IdRole" msdata:childkey="Role" msprop:Generator_UserParentTable="Roles" msprop:Generator_UserChildTable="Users" msprop:Generator_RelationVarName="relationFK_Users_Roles" msprop:Generator_ChildPropName="GetUsersRows" msprop:Generator_ParentPropName="RolesRow" msprop:Generator_UserRelationName="FK_Users_Roles" />
  708. </xs:appinfo>
  709. </xs:annotation>
  710. </xs:schema>