Kafe09DataSet.xsd 122 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="Kafe09DataSet" targetNamespace="http://tempuri.org/Kafe09DataSet.xsd" xmlns:mstns="http://tempuri.org/Kafe09DataSet.xsd" xmlns="http://tempuri.org/Kafe09DataSet.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="Kafe09ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Kafe09ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Kafe09.Properties.Settings.GlobalReference.Default.Kafe09ConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BludaTableAdapter" GeneratorDataComponentClassName="BludaTableAdapter" Name="Bluda" UserDataComponentName="BludaTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.Bluda" 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].[Bluda] WHERE (([id] = @Original_id) AND ((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. </Parameters>
  21. </DbCommand>
  22. </DeleteCommand>
  23. <InsertCommand>
  24. <DbCommand CommandType="Text" ModifiedByUser="false">
  25. <CommandText>INSERT INTO [dbo].[Bluda] ([id], [Название]) VALUES (@id, @Название);
  26. SELECT id, Название FROM Bluda WHERE (id = @id)</CommandText>
  27. <Parameters>
  28. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  29. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  30. </Parameters>
  31. </DbCommand>
  32. </InsertCommand>
  33. <SelectCommand>
  34. <DbCommand CommandType="Text" ModifiedByUser="false">
  35. <CommandText>SELECT id, Название FROM dbo.Bluda</CommandText>
  36. <Parameters />
  37. </DbCommand>
  38. </SelectCommand>
  39. <UpdateCommand>
  40. <DbCommand CommandType="Text" ModifiedByUser="false">
  41. <CommandText>UPDATE [dbo].[Bluda] SET [id] = @id, [Название] = @Название WHERE (([id] = @Original_id) AND ((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)));
  42. SELECT id, Название FROM Bluda WHERE (id = @id)</CommandText>
  43. <Parameters>
  44. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  45. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  46. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  47. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  48. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  49. </Parameters>
  50. </DbCommand>
  51. </UpdateCommand>
  52. </DbSource>
  53. </MainSource>
  54. <Mappings>
  55. <Mapping SourceColumn="id" DataSetColumn="id" />
  56. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  57. </Mappings>
  58. <Sources />
  59. </TableAdapter>
  60. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DoljnostiTableAdapter" GeneratorDataComponentClassName="DoljnostiTableAdapter" Name="Doljnosti" UserDataComponentName="DoljnostiTableAdapter">
  61. <MainSource>
  62. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.Doljnosti" 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">
  63. <DeleteCommand>
  64. <DbCommand CommandType="Text" ModifiedByUser="false">
  65. <CommandText>DELETE FROM [dbo].[Doljnosti] WHERE (([id] = @Original_id) AND ((@IsNull_НазваниеДолжности = 1 AND [НазваниеДолжности] IS NULL) OR ([НазваниеДолжности] = @Original_НазваниеДолжности)))</CommandText>
  66. <Parameters>
  67. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  68. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_НазваниеДолжности" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="НазваниеДолжности" SourceColumnNullMapping="true" SourceVersion="Original" />
  69. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_НазваниеДолжности" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеДолжности" SourceColumnNullMapping="false" SourceVersion="Original" />
  70. </Parameters>
  71. </DbCommand>
  72. </DeleteCommand>
  73. <InsertCommand>
  74. <DbCommand CommandType="Text" ModifiedByUser="false">
  75. <CommandText>INSERT INTO [dbo].[Doljnosti] ([НазваниеДолжности]) VALUES (@НазваниеДолжности);
  76. SELECT id, НазваниеДолжности FROM Doljnosti WHERE (id = SCOPE_IDENTITY())</CommandText>
  77. <Parameters>
  78. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@НазваниеДолжности" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеДолжности" SourceColumnNullMapping="false" SourceVersion="Current" />
  79. </Parameters>
  80. </DbCommand>
  81. </InsertCommand>
  82. <SelectCommand>
  83. <DbCommand CommandType="Text" ModifiedByUser="false">
  84. <CommandText>SELECT id, НазваниеДолжности FROM dbo.Doljnosti</CommandText>
  85. <Parameters />
  86. </DbCommand>
  87. </SelectCommand>
  88. <UpdateCommand>
  89. <DbCommand CommandType="Text" ModifiedByUser="false">
  90. <CommandText>UPDATE [dbo].[Doljnosti] SET [НазваниеДолжности] = @НазваниеДолжности WHERE (([id] = @Original_id) AND ((@IsNull_НазваниеДолжности = 1 AND [НазваниеДолжности] IS NULL) OR ([НазваниеДолжности] = @Original_НазваниеДолжности)));
  91. SELECT id, НазваниеДолжности FROM Doljnosti WHERE (id = @id)</CommandText>
  92. <Parameters>
  93. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@НазваниеДолжности" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеДолжности" SourceColumnNullMapping="false" SourceVersion="Current" />
  94. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  95. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_НазваниеДолжности" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="НазваниеДолжности" SourceColumnNullMapping="true" SourceVersion="Original" />
  96. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_НазваниеДолжности" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеДолжности" SourceColumnNullMapping="false" SourceVersion="Original" />
  97. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="Kafe09.dbo.Doljnosti" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  98. </Parameters>
  99. </DbCommand>
  100. </UpdateCommand>
  101. </DbSource>
  102. </MainSource>
  103. <Mappings>
  104. <Mapping SourceColumn="id" DataSetColumn="id" />
  105. <Mapping SourceColumn="НазваниеДолжности" DataSetColumn="НазваниеДолжности" />
  106. </Mappings>
  107. <Sources />
  108. </TableAdapter>
  109. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PolzovateliTableAdapter" GeneratorDataComponentClassName="PolzovateliTableAdapter" Name="Polzovateli" UserDataComponentName="PolzovateliTableAdapter">
  110. <MainSource>
  111. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.Polzovateli" 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">
  112. <DeleteCommand>
  113. <DbCommand CommandType="Text" ModifiedByUser="false">
  114. <CommandText>DELETE FROM [dbo].[Polzovateli] WHERE (([id] = @Original_id) AND ((@IsNull_Фармилия = 1 AND [Фармилия] IS NULL) OR ([Фармилия] = @Original_Фармилия)) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Отчетсво = 1 AND [Отчетсво] IS NULL) OR ([Отчетсво] = @Original_Отчетсво)) AND ((@IsNull_Doljnost = 1 AND [Doljnost] IS NULL) OR ([Doljnost] = @Original_Doljnost)) AND ((@IsNull_ДатаПринятияНаРаботу = 1 AND [ДатаПринятияНаРаботу] IS NULL) OR ([ДатаПринятияНаРаботу] = @Original_ДатаПринятияНаРаботу)) AND ((@IsNull_Телефон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)) AND ((@IsNull_Адрес = 1 AND [Адрес] IS NULL) OR ([Адрес] = @Original_Адрес)) AND ((@IsNull_СтатусПользователя = 1 AND [СтатусПользователя] IS NULL) OR ([СтатусПользователя] = @Original_СтатусПользователя)) AND ((@IsNull_username = 1 AND [username] IS NULL) OR ([username] = @Original_username)) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)))</CommandText>
  115. <Parameters>
  116. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  117. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Фармилия" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фармилия" SourceColumnNullMapping="true" SourceVersion="Original" />
  118. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Фармилия" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Фармилия" SourceColumnNullMapping="false" SourceVersion="Original" />
  119. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Имя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="true" SourceVersion="Original" />
  120. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Имя" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Original" />
  121. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Отчетсво" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Отчетсво" SourceColumnNullMapping="true" SourceVersion="Original" />
  122. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Отчетсво" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Отчетсво" SourceColumnNullMapping="false" SourceVersion="Original" />
  123. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Doljnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Doljnost" SourceColumnNullMapping="true" SourceVersion="Original" />
  124. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Doljnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Doljnost" SourceColumnNullMapping="false" SourceVersion="Original" />
  125. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ДатаПринятияНаРаботу" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ДатаПринятияНаРаботу" SourceColumnNullMapping="true" SourceVersion="Original" />
  126. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_ДатаПринятияНаРаботу" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ДатаПринятияНаРаботу" SourceColumnNullMapping="false" SourceVersion="Original" />
  127. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
  128. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
  129. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Адрес" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Адрес" SourceColumnNullMapping="true" SourceVersion="Original" />
  130. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Адрес" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Адрес" SourceColumnNullMapping="false" SourceVersion="Original" />
  131. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_СтатусПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусПользователя" SourceColumnNullMapping="true" SourceVersion="Original" />
  132. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_СтатусПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусПользователя" SourceColumnNullMapping="false" SourceVersion="Original" />
  133. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_username" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="true" SourceVersion="Original" />
  134. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_username" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Original" />
  135. <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" />
  136. <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" />
  137. </Parameters>
  138. </DbCommand>
  139. </DeleteCommand>
  140. <InsertCommand>
  141. <DbCommand CommandType="Text" ModifiedByUser="false">
  142. <CommandText>INSERT INTO [dbo].[Polzovateli] ([Фармилия], [Имя], [Отчетсво], [Doljnost], [ДатаПринятияНаРаботу], [Телефон], [Адрес], [СтатусПользователя], [username], [password]) VALUES (@Фармилия, @Имя, @Отчетсво, @Doljnost, @ДатаПринятияНаРаботу, @Телефон, @Адрес, @СтатусПользователя, @username, @password);
  143. SELECT id, Фармилия, Имя, Отчетсво, Doljnost, ДатаПринятияНаРаботу, Телефон, Адрес, СтатусПользователя, username, password FROM Polzovateli WHERE (id = SCOPE_IDENTITY())</CommandText>
  144. <Parameters>
  145. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Фармилия" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Фармилия" SourceColumnNullMapping="false" SourceVersion="Current" />
  146. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
  147. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Отчетсво" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Отчетсво" SourceColumnNullMapping="false" SourceVersion="Current" />
  148. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Doljnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Doljnost" SourceColumnNullMapping="false" SourceVersion="Current" />
  149. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@ДатаПринятияНаРаботу" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ДатаПринятияНаРаботу" SourceColumnNullMapping="false" SourceVersion="Current" />
  150. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
  151. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Адрес" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Адрес" SourceColumnNullMapping="false" SourceVersion="Current" />
  152. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@СтатусПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусПользователя" SourceColumnNullMapping="false" SourceVersion="Current" />
  153. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@username" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Current" />
  154. <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" />
  155. </Parameters>
  156. </DbCommand>
  157. </InsertCommand>
  158. <SelectCommand>
  159. <DbCommand CommandType="Text" ModifiedByUser="false">
  160. <CommandText>SELECT id, Фармилия, Имя, Отчетсво, Doljnost, ДатаПринятияНаРаботу, Телефон, Адрес, СтатусПользователя, username, password FROM dbo.Polzovateli</CommandText>
  161. <Parameters />
  162. </DbCommand>
  163. </SelectCommand>
  164. <UpdateCommand>
  165. <DbCommand CommandType="Text" ModifiedByUser="false">
  166. <CommandText>UPDATE [dbo].[Polzovateli] SET [Фармилия] = @Фармилия, [Имя] = @Имя, [Отчетсво] = @Отчетсво, [Doljnost] = @Doljnost, [ДатаПринятияНаРаботу] = @ДатаПринятияНаРаботу, [Телефон] = @Телефон, [Адрес] = @Адрес, [СтатусПользователя] = @СтатусПользователя, [username] = @username, [password] = @password WHERE (([id] = @Original_id) AND ((@IsNull_Фармилия = 1 AND [Фармилия] IS NULL) OR ([Фармилия] = @Original_Фармилия)) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Отчетсво = 1 AND [Отчетсво] IS NULL) OR ([Отчетсво] = @Original_Отчетсво)) AND ((@IsNull_Doljnost = 1 AND [Doljnost] IS NULL) OR ([Doljnost] = @Original_Doljnost)) AND ((@IsNull_ДатаПринятияНаРаботу = 1 AND [ДатаПринятияНаРаботу] IS NULL) OR ([ДатаПринятияНаРаботу] = @Original_ДатаПринятияНаРаботу)) AND ((@IsNull_Телефон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)) AND ((@IsNull_Адрес = 1 AND [Адрес] IS NULL) OR ([Адрес] = @Original_Адрес)) AND ((@IsNull_СтатусПользователя = 1 AND [СтатусПользователя] IS NULL) OR ([СтатусПользователя] = @Original_СтатусПользователя)) AND ((@IsNull_username = 1 AND [username] IS NULL) OR ([username] = @Original_username)) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)));
  167. SELECT id, Фармилия, Имя, Отчетсво, Doljnost, ДатаПринятияНаРаботу, Телефон, Адрес, СтатусПользователя, username, password FROM Polzovateli WHERE (id = @id)</CommandText>
  168. <Parameters>
  169. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Фармилия" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Фармилия" SourceColumnNullMapping="false" SourceVersion="Current" />
  170. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
  171. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Отчетсво" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Отчетсво" SourceColumnNullMapping="false" SourceVersion="Current" />
  172. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Doljnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Doljnost" SourceColumnNullMapping="false" SourceVersion="Current" />
  173. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@ДатаПринятияНаРаботу" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ДатаПринятияНаРаботу" SourceColumnNullMapping="false" SourceVersion="Current" />
  174. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
  175. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Адрес" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Адрес" SourceColumnNullMapping="false" SourceVersion="Current" />
  176. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@СтатусПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусПользователя" SourceColumnNullMapping="false" SourceVersion="Current" />
  177. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@username" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Current" />
  178. <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" />
  179. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  180. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Фармилия" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фармилия" SourceColumnNullMapping="true" SourceVersion="Original" />
  181. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Фармилия" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Фармилия" SourceColumnNullMapping="false" SourceVersion="Original" />
  182. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Имя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="true" SourceVersion="Original" />
  183. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Имя" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Original" />
  184. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Отчетсво" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Отчетсво" SourceColumnNullMapping="true" SourceVersion="Original" />
  185. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Отчетсво" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Отчетсво" SourceColumnNullMapping="false" SourceVersion="Original" />
  186. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Doljnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Doljnost" SourceColumnNullMapping="true" SourceVersion="Original" />
  187. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Doljnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Doljnost" SourceColumnNullMapping="false" SourceVersion="Original" />
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ДатаПринятияНаРаботу" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ДатаПринятияНаРаботу" SourceColumnNullMapping="true" SourceVersion="Original" />
  189. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_ДатаПринятияНаРаботу" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="ДатаПринятияНаРаботу" SourceColumnNullMapping="false" SourceVersion="Original" />
  190. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
  191. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
  192. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Адрес" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Адрес" SourceColumnNullMapping="true" SourceVersion="Original" />
  193. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Адрес" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Адрес" SourceColumnNullMapping="false" SourceVersion="Original" />
  194. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_СтатусПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусПользователя" SourceColumnNullMapping="true" SourceVersion="Original" />
  195. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_СтатусПользователя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусПользователя" SourceColumnNullMapping="false" SourceVersion="Original" />
  196. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_username" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="true" SourceVersion="Original" />
  197. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_username" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Original" />
  198. <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" />
  199. <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" />
  200. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="Kafe09.dbo.Polzovateli" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  201. </Parameters>
  202. </DbCommand>
  203. </UpdateCommand>
  204. </DbSource>
  205. </MainSource>
  206. <Mappings>
  207. <Mapping SourceColumn="id" DataSetColumn="id" />
  208. <Mapping SourceColumn="Фармилия" DataSetColumn="Фармилия" />
  209. <Mapping SourceColumn="Имя" DataSetColumn="Имя" />
  210. <Mapping SourceColumn="Отчетсво" DataSetColumn="Отчетсво" />
  211. <Mapping SourceColumn="Doljnost" DataSetColumn="Doljnost" />
  212. <Mapping SourceColumn="ДатаПринятияНаРаботу" DataSetColumn="ДатаПринятияНаРаботу" />
  213. <Mapping SourceColumn="Телефон" DataSetColumn="Телефон" />
  214. <Mapping SourceColumn="Адрес" DataSetColumn="Адрес" />
  215. <Mapping SourceColumn="СтатусПользователя" DataSetColumn="СтатусПользователя" />
  216. <Mapping SourceColumn="username" DataSetColumn="username" />
  217. <Mapping SourceColumn="password" DataSetColumn="password" />
  218. </Mappings>
  219. <Sources />
  220. </TableAdapter>
  221. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SmeniTableAdapter" GeneratorDataComponentClassName="SmeniTableAdapter" Name="Smeni" UserDataComponentName="SmeniTableAdapter">
  222. <MainSource>
  223. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.Smeni" 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">
  224. <DeleteCommand>
  225. <DbCommand CommandType="Text" ModifiedByUser="false">
  226. <CommandText>DELETE FROM [dbo].[Smeni] WHERE (([id] = @Original_id) AND ((@IsNull_Пользователь = 1 AND [Пользователь] IS NULL) OR ([Пользователь] = @Original_Пользователь)) AND ((@IsNull_Дата = 1 AND [Дата] IS NULL) OR ([Дата] = @Original_Дата)))</CommandText>
  227. <Parameters>
  228. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  229. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пользователь" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пользователь" SourceColumnNullMapping="true" SourceVersion="Original" />
  230. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Пользователь" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пользователь" SourceColumnNullMapping="false" SourceVersion="Original" />
  231. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  232. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  233. </Parameters>
  234. </DbCommand>
  235. </DeleteCommand>
  236. <InsertCommand>
  237. <DbCommand CommandType="Text" ModifiedByUser="false">
  238. <CommandText>INSERT INTO [dbo].[Smeni] ([Пользователь], [Дата]) VALUES (@Пользователь, @Дата);
  239. SELECT id, Пользователь, Дата FROM Smeni WHERE (id = SCOPE_IDENTITY())</CommandText>
  240. <Parameters>
  241. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Пользователь" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пользователь" SourceColumnNullMapping="false" SourceVersion="Current" />
  242. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  243. </Parameters>
  244. </DbCommand>
  245. </InsertCommand>
  246. <SelectCommand>
  247. <DbCommand CommandType="Text" ModifiedByUser="false">
  248. <CommandText>SELECT id, Пользователь, Дата FROM dbo.Smeni</CommandText>
  249. <Parameters />
  250. </DbCommand>
  251. </SelectCommand>
  252. <UpdateCommand>
  253. <DbCommand CommandType="Text" ModifiedByUser="false">
  254. <CommandText>UPDATE [dbo].[Smeni] SET [Пользователь] = @Пользователь, [Дата] = @Дата WHERE (([id] = @Original_id) AND ((@IsNull_Пользователь = 1 AND [Пользователь] IS NULL) OR ([Пользователь] = @Original_Пользователь)) AND ((@IsNull_Дата = 1 AND [Дата] IS NULL) OR ([Дата] = @Original_Дата)));
  255. SELECT id, Пользователь, Дата FROM Smeni WHERE (id = @id)</CommandText>
  256. <Parameters>
  257. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Пользователь" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пользователь" SourceColumnNullMapping="false" SourceVersion="Current" />
  258. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  259. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  260. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пользователь" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пользователь" SourceColumnNullMapping="true" SourceVersion="Original" />
  261. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Пользователь" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пользователь" SourceColumnNullMapping="false" SourceVersion="Original" />
  262. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  263. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  264. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="Kafe09.dbo.Smeni" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  265. </Parameters>
  266. </DbCommand>
  267. </UpdateCommand>
  268. </DbSource>
  269. </MainSource>
  270. <Mappings>
  271. <Mapping SourceColumn="id" DataSetColumn="id" />
  272. <Mapping SourceColumn="Пользователь" DataSetColumn="Пользователь" />
  273. <Mapping SourceColumn="Дата" DataSetColumn="Дата" />
  274. </Mappings>
  275. <Sources />
  276. </TableAdapter>
  277. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StatusiPolzovateleyTableAdapter" GeneratorDataComponentClassName="StatusiPolzovateleyTableAdapter" Name="StatusiPolzovateley" UserDataComponentName="StatusiPolzovateleyTableAdapter">
  278. <MainSource>
  279. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.StatusiPolzovateley" 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">
  280. <DeleteCommand>
  281. <DbCommand CommandType="Text" ModifiedByUser="false">
  282. <CommandText>DELETE FROM [dbo].[StatusiPolzovateley] WHERE (([id] = @Original_id) AND ((@IsNull_НазваниеСтатуса = 1 AND [НазваниеСтатуса] IS NULL) OR ([НазваниеСтатуса] = @Original_НазваниеСтатуса)))</CommandText>
  283. <Parameters>
  284. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  285. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_НазваниеСтатуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="true" SourceVersion="Original" />
  286. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_НазваниеСтатуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="false" SourceVersion="Original" />
  287. </Parameters>
  288. </DbCommand>
  289. </DeleteCommand>
  290. <InsertCommand>
  291. <DbCommand CommandType="Text" ModifiedByUser="false">
  292. <CommandText>INSERT INTO [dbo].[StatusiPolzovateley] ([НазваниеСтатуса]) VALUES (@НазваниеСтатуса);
  293. SELECT id, НазваниеСтатуса FROM StatusiPolzovateley WHERE (id = SCOPE_IDENTITY())</CommandText>
  294. <Parameters>
  295. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@НазваниеСтатуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="false" SourceVersion="Current" />
  296. </Parameters>
  297. </DbCommand>
  298. </InsertCommand>
  299. <SelectCommand>
  300. <DbCommand CommandType="Text" ModifiedByUser="false">
  301. <CommandText>SELECT id, НазваниеСтатуса FROM dbo.StatusiPolzovateley</CommandText>
  302. <Parameters />
  303. </DbCommand>
  304. </SelectCommand>
  305. <UpdateCommand>
  306. <DbCommand CommandType="Text" ModifiedByUser="false">
  307. <CommandText>UPDATE [dbo].[StatusiPolzovateley] SET [НазваниеСтатуса] = @НазваниеСтатуса WHERE (([id] = @Original_id) AND ((@IsNull_НазваниеСтатуса = 1 AND [НазваниеСтатуса] IS NULL) OR ([НазваниеСтатуса] = @Original_НазваниеСтатуса)));
  308. SELECT id, НазваниеСтатуса FROM StatusiPolzovateley WHERE (id = @id)</CommandText>
  309. <Parameters>
  310. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@НазваниеСтатуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="false" SourceVersion="Current" />
  311. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  312. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_НазваниеСтатуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="true" SourceVersion="Original" />
  313. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_НазваниеСтатуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="false" SourceVersion="Original" />
  314. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="Kafe09.dbo.StatusiPolzovateley" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  315. </Parameters>
  316. </DbCommand>
  317. </UpdateCommand>
  318. </DbSource>
  319. </MainSource>
  320. <Mappings>
  321. <Mapping SourceColumn="id" DataSetColumn="id" />
  322. <Mapping SourceColumn="НазваниеСтатуса" DataSetColumn="НазваниеСтатуса" />
  323. </Mappings>
  324. <Sources />
  325. </TableAdapter>
  326. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StatusiZakazaTableAdapter" GeneratorDataComponentClassName="StatusiZakazaTableAdapter" Name="StatusiZakaza" UserDataComponentName="StatusiZakazaTableAdapter">
  327. <MainSource>
  328. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.StatusiZakaza" 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">
  329. <DeleteCommand>
  330. <DbCommand CommandType="Text" ModifiedByUser="false">
  331. <CommandText>DELETE FROM [dbo].[StatusiZakaza] WHERE (([id] = @Original_id) AND ((@IsNull_НазваниеСтатуса = 1 AND [НазваниеСтатуса] IS NULL) OR ([НазваниеСтатуса] = @Original_НазваниеСтатуса)))</CommandText>
  332. <Parameters>
  333. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  334. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_НазваниеСтатуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="true" SourceVersion="Original" />
  335. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_НазваниеСтатуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="false" SourceVersion="Original" />
  336. </Parameters>
  337. </DbCommand>
  338. </DeleteCommand>
  339. <InsertCommand>
  340. <DbCommand CommandType="Text" ModifiedByUser="false">
  341. <CommandText>INSERT INTO [dbo].[StatusiZakaza] ([НазваниеСтатуса]) VALUES (@НазваниеСтатуса);
  342. SELECT id, НазваниеСтатуса FROM StatusiZakaza WHERE (id = SCOPE_IDENTITY())</CommandText>
  343. <Parameters>
  344. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@НазваниеСтатуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="false" SourceVersion="Current" />
  345. </Parameters>
  346. </DbCommand>
  347. </InsertCommand>
  348. <SelectCommand>
  349. <DbCommand CommandType="Text" ModifiedByUser="false">
  350. <CommandText>SELECT id, НазваниеСтатуса FROM dbo.StatusiZakaza</CommandText>
  351. <Parameters />
  352. </DbCommand>
  353. </SelectCommand>
  354. <UpdateCommand>
  355. <DbCommand CommandType="Text" ModifiedByUser="false">
  356. <CommandText>UPDATE [dbo].[StatusiZakaza] SET [НазваниеСтатуса] = @НазваниеСтатуса WHERE (([id] = @Original_id) AND ((@IsNull_НазваниеСтатуса = 1 AND [НазваниеСтатуса] IS NULL) OR ([НазваниеСтатуса] = @Original_НазваниеСтатуса)));
  357. SELECT id, НазваниеСтатуса FROM StatusiZakaza WHERE (id = @id)</CommandText>
  358. <Parameters>
  359. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@НазваниеСтатуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="false" SourceVersion="Current" />
  360. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  361. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_НазваниеСтатуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="true" SourceVersion="Original" />
  362. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_НазваниеСтатуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="НазваниеСтатуса" SourceColumnNullMapping="false" SourceVersion="Original" />
  363. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="Kafe09.dbo.StatusiZakaza" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  364. </Parameters>
  365. </DbCommand>
  366. </UpdateCommand>
  367. </DbSource>
  368. </MainSource>
  369. <Mappings>
  370. <Mapping SourceColumn="id" DataSetColumn="id" />
  371. <Mapping SourceColumn="НазваниеСтатуса" DataSetColumn="НазваниеСтатуса" />
  372. </Mappings>
  373. <Sources />
  374. </TableAdapter>
  375. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StolikiTableAdapter" GeneratorDataComponentClassName="StolikiTableAdapter" Name="Stoliki" UserDataComponentName="StolikiTableAdapter">
  376. <MainSource>
  377. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.Stoliki" 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">
  378. <DeleteCommand>
  379. <DbCommand CommandType="Text" ModifiedByUser="false">
  380. <CommandText>DELETE FROM [dbo].[Stoliki] WHERE (([id] = @Original_id))</CommandText>
  381. <Parameters>
  382. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  383. </Parameters>
  384. </DbCommand>
  385. </DeleteCommand>
  386. <InsertCommand>
  387. <DbCommand CommandType="Text" ModifiedByUser="false">
  388. <CommandText>INSERT INTO [dbo].[Stoliki] ([id]) VALUES (@id);
  389. SELECT id FROM Stoliki WHERE (id = @id)</CommandText>
  390. <Parameters>
  391. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  392. </Parameters>
  393. </DbCommand>
  394. </InsertCommand>
  395. <SelectCommand>
  396. <DbCommand CommandType="Text" ModifiedByUser="false">
  397. <CommandText>SELECT id FROM dbo.Stoliki</CommandText>
  398. <Parameters />
  399. </DbCommand>
  400. </SelectCommand>
  401. <UpdateCommand>
  402. <DbCommand CommandType="Text" ModifiedByUser="false">
  403. <CommandText>UPDATE [dbo].[Stoliki] SET [id] = @id WHERE (([id] = @Original_id));
  404. SELECT id FROM Stoliki WHERE (id = @id)</CommandText>
  405. <Parameters>
  406. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  407. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  408. </Parameters>
  409. </DbCommand>
  410. </UpdateCommand>
  411. </DbSource>
  412. </MainSource>
  413. <Mappings>
  414. <Mapping SourceColumn="id" DataSetColumn="id" />
  415. </Mappings>
  416. <Sources />
  417. </TableAdapter>
  418. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TipiOplatiTableAdapter" GeneratorDataComponentClassName="TipiOplatiTableAdapter" Name="TipiOplati" UserDataComponentName="TipiOplatiTableAdapter">
  419. <MainSource>
  420. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.TipiOplati" 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">
  421. <DeleteCommand>
  422. <DbCommand CommandType="Text" ModifiedByUser="false">
  423. <CommandText>DELETE FROM [dbo].[TipiOplati] WHERE (([id] = @Original_id) AND ((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)))</CommandText>
  424. <Parameters>
  425. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  426. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  427. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  428. </Parameters>
  429. </DbCommand>
  430. </DeleteCommand>
  431. <InsertCommand>
  432. <DbCommand CommandType="Text" ModifiedByUser="false">
  433. <CommandText>INSERT INTO [dbo].[TipiOplati] ([Название]) VALUES (@Название);
  434. SELECT id, Название FROM TipiOplati WHERE (id = SCOPE_IDENTITY())</CommandText>
  435. <Parameters>
  436. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  437. </Parameters>
  438. </DbCommand>
  439. </InsertCommand>
  440. <SelectCommand>
  441. <DbCommand CommandType="Text" ModifiedByUser="false">
  442. <CommandText>SELECT id, Название FROM dbo.TipiOplati</CommandText>
  443. <Parameters />
  444. </DbCommand>
  445. </SelectCommand>
  446. <UpdateCommand>
  447. <DbCommand CommandType="Text" ModifiedByUser="false">
  448. <CommandText>UPDATE [dbo].[TipiOplati] SET [Название] = @Название WHERE (([id] = @Original_id) AND ((@IsNull_Название = 1 AND [Название] IS NULL) OR ([Название] = @Original_Название)));
  449. SELECT id, Название FROM TipiOplati WHERE (id = @id)</CommandText>
  450. <Parameters>
  451. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  452. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  453. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  454. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  455. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="Kafe09.dbo.TipiOplati" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  456. </Parameters>
  457. </DbCommand>
  458. </UpdateCommand>
  459. </DbSource>
  460. </MainSource>
  461. <Mappings>
  462. <Mapping SourceColumn="id" DataSetColumn="id" />
  463. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  464. </Mappings>
  465. <Sources />
  466. </TableAdapter>
  467. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ZakazannieBludaTableAdapter" GeneratorDataComponentClassName="ZakazannieBludaTableAdapter" Name="ZakazannieBluda" UserDataComponentName="ZakazannieBludaTableAdapter">
  468. <MainSource>
  469. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.ZakazannieBluda" 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">
  470. <DeleteCommand>
  471. <DbCommand CommandType="Text" ModifiedByUser="false">
  472. <CommandText>DELETE FROM [dbo].[ZakazannieBluda] WHERE (([id] = @Original_id) AND ((@IsNull_ЗаказанныеБлюда = 1 AND [ЗаказанныеБлюда] IS NULL) OR ([ЗаказанныеБлюда] = @Original_ЗаказанныеБлюда)))</CommandText>
  473. <Parameters>
  474. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  475. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="true" SourceVersion="Original" />
  476. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="false" SourceVersion="Original" />
  477. </Parameters>
  478. </DbCommand>
  479. </DeleteCommand>
  480. <InsertCommand>
  481. <DbCommand CommandType="Text" ModifiedByUser="false">
  482. <CommandText>INSERT INTO [dbo].[ZakazannieBluda] ([ЗаказанныеБлюда]) VALUES (@ЗаказанныеБлюда);
  483. SELECT id, ЗаказанныеБлюда FROM ZakazannieBluda WHERE (id = SCOPE_IDENTITY())</CommandText>
  484. <Parameters>
  485. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="false" SourceVersion="Current" />
  486. </Parameters>
  487. </DbCommand>
  488. </InsertCommand>
  489. <SelectCommand>
  490. <DbCommand CommandType="Text" ModifiedByUser="false">
  491. <CommandText>SELECT id, ЗаказанныеБлюда FROM dbo.ZakazannieBluda</CommandText>
  492. <Parameters />
  493. </DbCommand>
  494. </SelectCommand>
  495. <UpdateCommand>
  496. <DbCommand CommandType="Text" ModifiedByUser="false">
  497. <CommandText>UPDATE [dbo].[ZakazannieBluda] SET [ЗаказанныеБлюда] = @ЗаказанныеБлюда WHERE (([id] = @Original_id) AND ((@IsNull_ЗаказанныеБлюда = 1 AND [ЗаказанныеБлюда] IS NULL) OR ([ЗаказанныеБлюда] = @Original_ЗаказанныеБлюда)));
  498. SELECT id, ЗаказанныеБлюда FROM ZakazannieBluda WHERE (id = @id)</CommandText>
  499. <Parameters>
  500. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="false" SourceVersion="Current" />
  501. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  502. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="true" SourceVersion="Original" />
  503. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="false" SourceVersion="Original" />
  504. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="Kafe09.dbo.ZakazannieBluda" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  505. </Parameters>
  506. </DbCommand>
  507. </UpdateCommand>
  508. </DbSource>
  509. </MainSource>
  510. <Mappings>
  511. <Mapping SourceColumn="id" DataSetColumn="id" />
  512. <Mapping SourceColumn="ЗаказанныеБлюда" DataSetColumn="ЗаказанныеБлюда" />
  513. </Mappings>
  514. <Sources />
  515. </TableAdapter>
  516. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ZakaziTableAdapter" GeneratorDataComponentClassName="ZakaziTableAdapter" Name="Zakazi" UserDataComponentName="ZakaziTableAdapter">
  517. <MainSource>
  518. <DbSource ConnectionRef="Kafe09ConnectionString (Settings)" DbObjectName="Kafe09.dbo.Zakazi" 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">
  519. <DeleteCommand>
  520. <DbCommand CommandType="Text" ModifiedByUser="false">
  521. <CommandText>DELETE FROM [dbo].[Zakazi] WHERE (([id] = @Original_id) AND ((@IsNull_СтатусЗаказа = 1 AND [СтатусЗаказа] IS NULL) OR ([СтатусЗаказа] = @Original_СтатусЗаказа)) AND ((@IsNull_Дата = 1 AND [Дата] IS NULL) OR ([Дата] = @Original_Дата)) AND ((@IsNull_ТипОплаты = 1 AND [ТипОплаты] IS NULL) OR ([ТипОплаты] = @Original_ТипОплаты)) AND ((@IsNull_Смена = 1 AND [Смена] IS NULL) OR ([Смена] = @Original_Смена)) AND ((@IsNull_Столик = 1 AND [Столик] IS NULL) OR ([Столик] = @Original_Столик)) AND ((@IsNull_Блюда = 1 AND [Блюда] IS NULL) OR ([Блюда] = @Original_Блюда)) AND ((@IsNull_ЗаказанныеБлюда = 1 AND [ЗаказанныеБлюда] IS NULL) OR ([ЗаказанныеБлюда] = @Original_ЗаказанныеБлюда)))</CommandText>
  522. <Parameters>
  523. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  524. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_СтатусЗаказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусЗаказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  525. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_СтатусЗаказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусЗаказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  526. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  527. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  528. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ТипОплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ТипОплаты" SourceColumnNullMapping="true" SourceVersion="Original" />
  529. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ТипОплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ТипОплаты" SourceColumnNullMapping="false" SourceVersion="Original" />
  530. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Смена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Смена" SourceColumnNullMapping="true" SourceVersion="Original" />
  531. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Смена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Смена" SourceColumnNullMapping="false" SourceVersion="Original" />
  532. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Столик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Столик" SourceColumnNullMapping="true" SourceVersion="Original" />
  533. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Столик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Столик" SourceColumnNullMapping="false" SourceVersion="Original" />
  534. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Блюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Блюда" SourceColumnNullMapping="true" SourceVersion="Original" />
  535. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Блюда" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Блюда" SourceColumnNullMapping="false" SourceVersion="Original" />
  536. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="true" SourceVersion="Original" />
  537. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="false" SourceVersion="Original" />
  538. </Parameters>
  539. </DbCommand>
  540. </DeleteCommand>
  541. <InsertCommand>
  542. <DbCommand CommandType="Text" ModifiedByUser="false">
  543. <CommandText>INSERT INTO [dbo].[Zakazi] ([СтатусЗаказа], [Дата], [ТипОплаты], [Смена], [Столик], [Блюда], [ЗаказанныеБлюда]) VALUES (@СтатусЗаказа, @Дата, @ТипОплаты, @Смена, @Столик, @Блюда, @ЗаказанныеБлюда);
  544. SELECT id, СтатусЗаказа, Дата, ТипОплаты, Смена, Столик, Блюда, ЗаказанныеБлюда FROM Zakazi WHERE (id = SCOPE_IDENTITY())</CommandText>
  545. <Parameters>
  546. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@СтатусЗаказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусЗаказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  547. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  548. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ТипОплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ТипОплаты" SourceColumnNullMapping="false" SourceVersion="Current" />
  549. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Смена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Смена" SourceColumnNullMapping="false" SourceVersion="Current" />
  550. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Столик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Столик" SourceColumnNullMapping="false" SourceVersion="Current" />
  551. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Блюда" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Блюда" SourceColumnNullMapping="false" SourceVersion="Current" />
  552. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="false" SourceVersion="Current" />
  553. </Parameters>
  554. </DbCommand>
  555. </InsertCommand>
  556. <SelectCommand>
  557. <DbCommand CommandType="Text" ModifiedByUser="false">
  558. <CommandText>SELECT id, СтатусЗаказа, Дата, ТипОплаты, Смена, Столик, Блюда, ЗаказанныеБлюда FROM dbo.Zakazi</CommandText>
  559. <Parameters />
  560. </DbCommand>
  561. </SelectCommand>
  562. <UpdateCommand>
  563. <DbCommand CommandType="Text" ModifiedByUser="false">
  564. <CommandText>UPDATE [dbo].[Zakazi] SET [СтатусЗаказа] = @СтатусЗаказа, [Дата] = @Дата, [ТипОплаты] = @ТипОплаты, [Смена] = @Смена, [Столик] = @Столик, [Блюда] = @Блюда, [ЗаказанныеБлюда] = @ЗаказанныеБлюда WHERE (([id] = @Original_id) AND ((@IsNull_СтатусЗаказа = 1 AND [СтатусЗаказа] IS NULL) OR ([СтатусЗаказа] = @Original_СтатусЗаказа)) AND ((@IsNull_Дата = 1 AND [Дата] IS NULL) OR ([Дата] = @Original_Дата)) AND ((@IsNull_ТипОплаты = 1 AND [ТипОплаты] IS NULL) OR ([ТипОплаты] = @Original_ТипОплаты)) AND ((@IsNull_Смена = 1 AND [Смена] IS NULL) OR ([Смена] = @Original_Смена)) AND ((@IsNull_Столик = 1 AND [Столик] IS NULL) OR ([Столик] = @Original_Столик)) AND ((@IsNull_Блюда = 1 AND [Блюда] IS NULL) OR ([Блюда] = @Original_Блюда)) AND ((@IsNull_ЗаказанныеБлюда = 1 AND [ЗаказанныеБлюда] IS NULL) OR ([ЗаказанныеБлюда] = @Original_ЗаказанныеБлюда)));
  565. SELECT id, СтатусЗаказа, Дата, ТипОплаты, Смена, Столик, Блюда, ЗаказанныеБлюда FROM Zakazi WHERE (id = @id)</CommandText>
  566. <Parameters>
  567. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@СтатусЗаказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусЗаказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  568. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  569. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ТипОплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ТипОплаты" SourceColumnNullMapping="false" SourceVersion="Current" />
  570. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Смена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Смена" SourceColumnNullMapping="false" SourceVersion="Current" />
  571. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Столик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Столик" SourceColumnNullMapping="false" SourceVersion="Current" />
  572. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Блюда" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Блюда" SourceColumnNullMapping="false" SourceVersion="Current" />
  573. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="false" SourceVersion="Current" />
  574. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  575. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_СтатусЗаказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусЗаказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  576. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_СтатусЗаказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="СтатусЗаказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  577. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  578. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  579. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ТипОплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ТипОплаты" SourceColumnNullMapping="true" SourceVersion="Original" />
  580. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ТипОплаты" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ТипОплаты" SourceColumnNullMapping="false" SourceVersion="Original" />
  581. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Смена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Смена" SourceColumnNullMapping="true" SourceVersion="Original" />
  582. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Смена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Смена" SourceColumnNullMapping="false" SourceVersion="Original" />
  583. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Столик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Столик" SourceColumnNullMapping="true" SourceVersion="Original" />
  584. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Столик" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Столик" SourceColumnNullMapping="false" SourceVersion="Original" />
  585. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Блюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Блюда" SourceColumnNullMapping="true" SourceVersion="Original" />
  586. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Блюда" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Блюда" SourceColumnNullMapping="false" SourceVersion="Original" />
  587. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="true" SourceVersion="Original" />
  588. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ЗаказанныеБлюда" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ЗаказанныеБлюда" SourceColumnNullMapping="false" SourceVersion="Original" />
  589. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="Kafe09.dbo.Zakazi" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  590. </Parameters>
  591. </DbCommand>
  592. </UpdateCommand>
  593. </DbSource>
  594. </MainSource>
  595. <Mappings>
  596. <Mapping SourceColumn="id" DataSetColumn="id" />
  597. <Mapping SourceColumn="СтатусЗаказа" DataSetColumn="СтатусЗаказа" />
  598. <Mapping SourceColumn="Дата" DataSetColumn="Дата" />
  599. <Mapping SourceColumn="ТипОплаты" DataSetColumn="ТипОплаты" />
  600. <Mapping SourceColumn="Смена" DataSetColumn="Смена" />
  601. <Mapping SourceColumn="Столик" DataSetColumn="Столик" />
  602. <Mapping SourceColumn="Блюда" DataSetColumn="Блюда" />
  603. <Mapping SourceColumn="ЗаказанныеБлюда" DataSetColumn="ЗаказанныеБлюда" />
  604. </Mappings>
  605. <Sources />
  606. </TableAdapter>
  607. </Tables>
  608. <Sources />
  609. </DataSource>
  610. </xs:appinfo>
  611. </xs:annotation>
  612. <xs:element name="Kafe09DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="Kafe09DataSet" msprop:Generator_UserDSName="Kafe09DataSet">
  613. <xs:complexType>
  614. <xs:choice minOccurs="0" maxOccurs="unbounded">
  615. <xs:element name="Bluda" msprop:Generator_TableClassName="BludaDataTable" msprop:Generator_TableVarName="tableBluda" msprop:Generator_TablePropName="Bluda" msprop:Generator_RowDeletingName="BludaRowDeleting" msprop:Generator_RowChangingName="BludaRowChanging" msprop:Generator_RowEvHandlerName="BludaRowChangeEventHandler" msprop:Generator_RowDeletedName="BludaRowDeleted" msprop:Generator_UserTableName="Bluda" msprop:Generator_RowChangedName="BludaRowChanged" msprop:Generator_RowEvArgName="BludaRowChangeEvent" msprop:Generator_RowClassName="BludaRow">
  616. <xs:complexType>
  617. <xs:sequence>
  618. <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  619. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  620. <xs:simpleType>
  621. <xs:restriction base="xs:string">
  622. <xs:maxLength value="50" />
  623. </xs:restriction>
  624. </xs:simpleType>
  625. </xs:element>
  626. </xs:sequence>
  627. </xs:complexType>
  628. </xs:element>
  629. <xs:element name="Doljnosti" msprop:Generator_TableClassName="DoljnostiDataTable" msprop:Generator_TableVarName="tableDoljnosti" msprop:Generator_TablePropName="Doljnosti" msprop:Generator_RowDeletingName="DoljnostiRowDeleting" msprop:Generator_RowChangingName="DoljnostiRowChanging" msprop:Generator_RowEvHandlerName="DoljnostiRowChangeEventHandler" msprop:Generator_RowDeletedName="DoljnostiRowDeleted" msprop:Generator_UserTableName="Doljnosti" msprop:Generator_RowChangedName="DoljnostiRowChanged" msprop:Generator_RowEvArgName="DoljnostiRowChangeEvent" msprop:Generator_RowClassName="DoljnostiRow">
  630. <xs:complexType>
  631. <xs:sequence>
  632. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  633. <xs:element name="НазваниеДолжности" msprop:Generator_ColumnVarNameInTable="columnНазваниеДолжности" msprop:Generator_ColumnPropNameInRow="НазваниеДолжности" msprop:Generator_ColumnPropNameInTable="НазваниеДолжностиColumn" msprop:Generator_UserColumnName="НазваниеДолжности" minOccurs="0">
  634. <xs:simpleType>
  635. <xs:restriction base="xs:string">
  636. <xs:maxLength value="50" />
  637. </xs:restriction>
  638. </xs:simpleType>
  639. </xs:element>
  640. </xs:sequence>
  641. </xs:complexType>
  642. </xs:element>
  643. <xs:element name="Polzovateli" msprop:Generator_TableClassName="PolzovateliDataTable" msprop:Generator_TableVarName="tablePolzovateli" msprop:Generator_TablePropName="Polzovateli" msprop:Generator_RowDeletingName="PolzovateliRowDeleting" msprop:Generator_RowChangingName="PolzovateliRowChanging" msprop:Generator_RowEvHandlerName="PolzovateliRowChangeEventHandler" msprop:Generator_RowDeletedName="PolzovateliRowDeleted" msprop:Generator_UserTableName="Polzovateli" msprop:Generator_RowChangedName="PolzovateliRowChanged" msprop:Generator_RowEvArgName="PolzovateliRowChangeEvent" msprop:Generator_RowClassName="PolzovateliRow">
  644. <xs:complexType>
  645. <xs:sequence>
  646. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  647. <xs:element name="Фармилия" msprop:Generator_ColumnVarNameInTable="columnФармилия" msprop:Generator_ColumnPropNameInRow="Фармилия" msprop:Generator_ColumnPropNameInTable="ФармилияColumn" msprop:Generator_UserColumnName="Фармилия" minOccurs="0">
  648. <xs:simpleType>
  649. <xs:restriction base="xs:string">
  650. <xs:maxLength value="50" />
  651. </xs:restriction>
  652. </xs:simpleType>
  653. </xs:element>
  654. <xs:element name="Имя" msprop:Generator_ColumnVarNameInTable="columnИмя" msprop:Generator_ColumnPropNameInRow="Имя" msprop:Generator_ColumnPropNameInTable="ИмяColumn" msprop:Generator_UserColumnName="Имя" minOccurs="0">
  655. <xs:simpleType>
  656. <xs:restriction base="xs:string">
  657. <xs:maxLength value="50" />
  658. </xs:restriction>
  659. </xs:simpleType>
  660. </xs:element>
  661. <xs:element name="Отчетсво" msprop:Generator_ColumnVarNameInTable="columnОтчетсво" msprop:Generator_ColumnPropNameInRow="Отчетсво" msprop:Generator_ColumnPropNameInTable="ОтчетсвоColumn" msprop:Generator_UserColumnName="Отчетсво" minOccurs="0">
  662. <xs:simpleType>
  663. <xs:restriction base="xs:string">
  664. <xs:maxLength value="50" />
  665. </xs:restriction>
  666. </xs:simpleType>
  667. </xs:element>
  668. <xs:element name="Doljnost" msprop:Generator_ColumnVarNameInTable="columnDoljnost" msprop:Generator_ColumnPropNameInRow="Doljnost" msprop:Generator_ColumnPropNameInTable="DoljnostColumn" msprop:Generator_UserColumnName="Doljnost" type="xs:int" minOccurs="0" />
  669. <xs:element name="ДатаПринятияНаРаботу" msprop:Generator_ColumnVarNameInTable="columnДатаПринятияНаРаботу" msprop:Generator_ColumnPropNameInRow="ДатаПринятияНаРаботу" msprop:Generator_ColumnPropNameInTable="ДатаПринятияНаРаботуColumn" msprop:Generator_UserColumnName="ДатаПринятияНаРаботу" type="xs:dateTime" minOccurs="0" />
  670. <xs:element name="Телефон" msprop:Generator_ColumnVarNameInTable="columnТелефон" msprop:Generator_ColumnPropNameInRow="Телефон" msprop:Generator_ColumnPropNameInTable="ТелефонColumn" msprop:Generator_UserColumnName="Телефон" minOccurs="0">
  671. <xs:simpleType>
  672. <xs:restriction base="xs:string">
  673. <xs:maxLength value="11" />
  674. </xs:restriction>
  675. </xs:simpleType>
  676. </xs:element>
  677. <xs:element name="Адрес" msprop:Generator_ColumnVarNameInTable="columnАдрес" msprop:Generator_ColumnPropNameInRow="Адрес" msprop:Generator_ColumnPropNameInTable="АдресColumn" msprop:Generator_UserColumnName="Адрес" minOccurs="0">
  678. <xs:simpleType>
  679. <xs:restriction base="xs:string">
  680. <xs:maxLength value="50" />
  681. </xs:restriction>
  682. </xs:simpleType>
  683. </xs:element>
  684. <xs:element name="СтатусПользователя" msprop:Generator_ColumnVarNameInTable="columnСтатусПользователя" msprop:Generator_ColumnPropNameInRow="СтатусПользователя" msprop:Generator_ColumnPropNameInTable="СтатусПользователяColumn" msprop:Generator_UserColumnName="СтатусПользователя" type="xs:int" minOccurs="0" />
  685. <xs:element name="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnPropNameInTable="usernameColumn" msprop:Generator_UserColumnName="username" minOccurs="0">
  686. <xs:simpleType>
  687. <xs:restriction base="xs:string">
  688. <xs:maxLength value="50" />
  689. </xs:restriction>
  690. </xs:simpleType>
  691. </xs:element>
  692. <xs:element name="password" msprop:Generator_ColumnVarNameInTable="columnpassword" msprop:Generator_ColumnPropNameInRow="password" msprop:Generator_ColumnPropNameInTable="passwordColumn" msprop:Generator_UserColumnName="password" minOccurs="0">
  693. <xs:simpleType>
  694. <xs:restriction base="xs:string">
  695. <xs:maxLength value="50" />
  696. </xs:restriction>
  697. </xs:simpleType>
  698. </xs:element>
  699. </xs:sequence>
  700. </xs:complexType>
  701. </xs:element>
  702. <xs:element name="Smeni" msprop:Generator_TableClassName="SmeniDataTable" msprop:Generator_TableVarName="tableSmeni" msprop:Generator_TablePropName="Smeni" msprop:Generator_RowDeletingName="SmeniRowDeleting" msprop:Generator_RowChangingName="SmeniRowChanging" msprop:Generator_RowEvHandlerName="SmeniRowChangeEventHandler" msprop:Generator_RowDeletedName="SmeniRowDeleted" msprop:Generator_UserTableName="Smeni" msprop:Generator_RowChangedName="SmeniRowChanged" msprop:Generator_RowEvArgName="SmeniRowChangeEvent" msprop:Generator_RowClassName="SmeniRow">
  703. <xs:complexType>
  704. <xs:sequence>
  705. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  706. <xs:element name="Пользователь" msprop:Generator_ColumnVarNameInTable="columnПользователь" msprop:Generator_ColumnPropNameInRow="Пользователь" msprop:Generator_ColumnPropNameInTable="ПользовательColumn" msprop:Generator_UserColumnName="Пользователь" type="xs:int" minOccurs="0" />
  707. <xs:element name="Дата" msprop:Generator_ColumnVarNameInTable="columnДата" msprop:Generator_ColumnPropNameInRow="Дата" msprop:Generator_ColumnPropNameInTable="ДатаColumn" msprop:Generator_UserColumnName="Дата" type="xs:dateTime" minOccurs="0" />
  708. </xs:sequence>
  709. </xs:complexType>
  710. </xs:element>
  711. <xs:element name="StatusiPolzovateley" msprop:Generator_TableClassName="StatusiPolzovateleyDataTable" msprop:Generator_TableVarName="tableStatusiPolzovateley" msprop:Generator_TablePropName="StatusiPolzovateley" msprop:Generator_RowDeletingName="StatusiPolzovateleyRowDeleting" msprop:Generator_RowChangingName="StatusiPolzovateleyRowChanging" msprop:Generator_RowEvHandlerName="StatusiPolzovateleyRowChangeEventHandler" msprop:Generator_RowDeletedName="StatusiPolzovateleyRowDeleted" msprop:Generator_UserTableName="StatusiPolzovateley" msprop:Generator_RowChangedName="StatusiPolzovateleyRowChanged" msprop:Generator_RowEvArgName="StatusiPolzovateleyRowChangeEvent" msprop:Generator_RowClassName="StatusiPolzovateleyRow">
  712. <xs:complexType>
  713. <xs:sequence>
  714. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  715. <xs:element name="НазваниеСтатуса" msprop:Generator_ColumnVarNameInTable="columnНазваниеСтатуса" msprop:Generator_ColumnPropNameInRow="НазваниеСтатуса" msprop:Generator_ColumnPropNameInTable="НазваниеСтатусаColumn" msprop:Generator_UserColumnName="НазваниеСтатуса" minOccurs="0">
  716. <xs:simpleType>
  717. <xs:restriction base="xs:string">
  718. <xs:maxLength value="50" />
  719. </xs:restriction>
  720. </xs:simpleType>
  721. </xs:element>
  722. </xs:sequence>
  723. </xs:complexType>
  724. </xs:element>
  725. <xs:element name="StatusiZakaza" msprop:Generator_TableClassName="StatusiZakazaDataTable" msprop:Generator_TableVarName="tableStatusiZakaza" msprop:Generator_TablePropName="StatusiZakaza" msprop:Generator_RowDeletingName="StatusiZakazaRowDeleting" msprop:Generator_RowChangingName="StatusiZakazaRowChanging" msprop:Generator_RowEvHandlerName="StatusiZakazaRowChangeEventHandler" msprop:Generator_RowDeletedName="StatusiZakazaRowDeleted" msprop:Generator_UserTableName="StatusiZakaza" msprop:Generator_RowChangedName="StatusiZakazaRowChanged" msprop:Generator_RowEvArgName="StatusiZakazaRowChangeEvent" msprop:Generator_RowClassName="StatusiZakazaRow">
  726. <xs:complexType>
  727. <xs:sequence>
  728. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  729. <xs:element name="НазваниеСтатуса" msprop:Generator_ColumnVarNameInTable="columnНазваниеСтатуса" msprop:Generator_ColumnPropNameInRow="НазваниеСтатуса" msprop:Generator_ColumnPropNameInTable="НазваниеСтатусаColumn" msprop:Generator_UserColumnName="НазваниеСтатуса" minOccurs="0">
  730. <xs:simpleType>
  731. <xs:restriction base="xs:string">
  732. <xs:maxLength value="50" />
  733. </xs:restriction>
  734. </xs:simpleType>
  735. </xs:element>
  736. </xs:sequence>
  737. </xs:complexType>
  738. </xs:element>
  739. <xs:element name="Stoliki" msprop:Generator_TableClassName="StolikiDataTable" msprop:Generator_TableVarName="tableStoliki" msprop:Generator_TablePropName="Stoliki" msprop:Generator_RowDeletingName="StolikiRowDeleting" msprop:Generator_RowChangingName="StolikiRowChanging" msprop:Generator_RowEvHandlerName="StolikiRowChangeEventHandler" msprop:Generator_RowDeletedName="StolikiRowDeleted" msprop:Generator_UserTableName="Stoliki" msprop:Generator_RowChangedName="StolikiRowChanged" msprop:Generator_RowEvArgName="StolikiRowChangeEvent" msprop:Generator_RowClassName="StolikiRow">
  740. <xs:complexType>
  741. <xs:sequence>
  742. <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  743. </xs:sequence>
  744. </xs:complexType>
  745. </xs:element>
  746. <xs:element name="TipiOplati" msprop:Generator_TableClassName="TipiOplatiDataTable" msprop:Generator_TableVarName="tableTipiOplati" msprop:Generator_TablePropName="TipiOplati" msprop:Generator_RowDeletingName="TipiOplatiRowDeleting" msprop:Generator_RowChangingName="TipiOplatiRowChanging" msprop:Generator_RowEvHandlerName="TipiOplatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TipiOplatiRowDeleted" msprop:Generator_UserTableName="TipiOplati" msprop:Generator_RowChangedName="TipiOplatiRowChanged" msprop:Generator_RowEvArgName="TipiOplatiRowChangeEvent" msprop:Generator_RowClassName="TipiOplatiRow">
  747. <xs:complexType>
  748. <xs:sequence>
  749. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  750. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  751. <xs:simpleType>
  752. <xs:restriction base="xs:string">
  753. <xs:maxLength value="50" />
  754. </xs:restriction>
  755. </xs:simpleType>
  756. </xs:element>
  757. </xs:sequence>
  758. </xs:complexType>
  759. </xs:element>
  760. <xs:element name="ZakazannieBluda" msprop:Generator_TableClassName="ZakazannieBludaDataTable" msprop:Generator_TableVarName="tableZakazannieBluda" msprop:Generator_TablePropName="ZakazannieBluda" msprop:Generator_RowDeletingName="ZakazannieBludaRowDeleting" msprop:Generator_RowChangingName="ZakazannieBludaRowChanging" msprop:Generator_RowEvHandlerName="ZakazannieBludaRowChangeEventHandler" msprop:Generator_RowDeletedName="ZakazannieBludaRowDeleted" msprop:Generator_UserTableName="ZakazannieBluda" msprop:Generator_RowChangedName="ZakazannieBludaRowChanged" msprop:Generator_RowEvArgName="ZakazannieBludaRowChangeEvent" msprop:Generator_RowClassName="ZakazannieBludaRow">
  761. <xs:complexType>
  762. <xs:sequence>
  763. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  764. <xs:element name="ЗаказанныеБлюда" msprop:Generator_ColumnVarNameInTable="columnЗаказанныеБлюда" msprop:Generator_ColumnPropNameInRow="ЗаказанныеБлюда" msprop:Generator_ColumnPropNameInTable="ЗаказанныеБлюдаColumn" msprop:Generator_UserColumnName="ЗаказанныеБлюда" type="xs:int" minOccurs="0" />
  765. </xs:sequence>
  766. </xs:complexType>
  767. </xs:element>
  768. <xs:element name="Zakazi" msprop:Generator_TableClassName="ZakaziDataTable" msprop:Generator_TableVarName="tableZakazi" msprop:Generator_TablePropName="Zakazi" msprop:Generator_RowDeletingName="ZakaziRowDeleting" msprop:Generator_RowChangingName="ZakaziRowChanging" msprop:Generator_RowEvHandlerName="ZakaziRowChangeEventHandler" msprop:Generator_RowDeletedName="ZakaziRowDeleted" msprop:Generator_UserTableName="Zakazi" msprop:Generator_RowChangedName="ZakaziRowChanged" msprop:Generator_RowEvArgName="ZakaziRowChangeEvent" msprop:Generator_RowClassName="ZakaziRow">
  769. <xs:complexType>
  770. <xs:sequence>
  771. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  772. <xs:element name="СтатусЗаказа" msprop:Generator_ColumnVarNameInTable="columnСтатусЗаказа" msprop:Generator_ColumnPropNameInRow="СтатусЗаказа" msprop:Generator_ColumnPropNameInTable="СтатусЗаказаColumn" msprop:Generator_UserColumnName="СтатусЗаказа" type="xs:int" minOccurs="0" />
  773. <xs:element name="Дата" msprop:Generator_ColumnVarNameInTable="columnДата" msprop:Generator_ColumnPropNameInRow="Дата" msprop:Generator_ColumnPropNameInTable="ДатаColumn" msprop:Generator_UserColumnName="Дата" type="xs:dateTime" minOccurs="0" />
  774. <xs:element name="ТипОплаты" msprop:Generator_ColumnVarNameInTable="columnТипОплаты" msprop:Generator_ColumnPropNameInRow="ТипОплаты" msprop:Generator_ColumnPropNameInTable="ТипОплатыColumn" msprop:Generator_UserColumnName="ТипОплаты" type="xs:int" minOccurs="0" />
  775. <xs:element name="Смена" msprop:Generator_ColumnVarNameInTable="columnСмена" msprop:Generator_ColumnPropNameInRow="Смена" msprop:Generator_ColumnPropNameInTable="СменаColumn" msprop:Generator_UserColumnName="Смена" type="xs:int" minOccurs="0" />
  776. <xs:element name="Столик" msprop:Generator_ColumnVarNameInTable="columnСтолик" msprop:Generator_ColumnPropNameInRow="Столик" msprop:Generator_ColumnPropNameInTable="СтоликColumn" msprop:Generator_UserColumnName="Столик" type="xs:int" minOccurs="0" />
  777. <xs:element name="Блюда" msprop:Generator_ColumnVarNameInTable="columnБлюда" msprop:Generator_ColumnPropNameInRow="Блюда" msprop:Generator_ColumnPropNameInTable="БлюдаColumn" msprop:Generator_UserColumnName="Блюда" minOccurs="0">
  778. <xs:simpleType>
  779. <xs:restriction base="xs:string">
  780. <xs:maxLength value="10" />
  781. </xs:restriction>
  782. </xs:simpleType>
  783. </xs:element>
  784. <xs:element name="ЗаказанныеБлюда" msprop:Generator_ColumnVarNameInTable="columnЗаказанныеБлюда" msprop:Generator_ColumnPropNameInRow="ЗаказанныеБлюда" msprop:Generator_ColumnPropNameInTable="ЗаказанныеБлюдаColumn" msprop:Generator_UserColumnName="ЗаказанныеБлюда" type="xs:int" minOccurs="0" />
  785. </xs:sequence>
  786. </xs:complexType>
  787. </xs:element>
  788. </xs:choice>
  789. </xs:complexType>
  790. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  791. <xs:selector xpath=".//mstns:Bluda" />
  792. <xs:field xpath="mstns:id" />
  793. </xs:unique>
  794. <xs:unique name="Doljnosti_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  795. <xs:selector xpath=".//mstns:Doljnosti" />
  796. <xs:field xpath="mstns:id" />
  797. </xs:unique>
  798. <xs:unique name="Polzovateli_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  799. <xs:selector xpath=".//mstns:Polzovateli" />
  800. <xs:field xpath="mstns:id" />
  801. </xs:unique>
  802. <xs:unique name="Smeni_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  803. <xs:selector xpath=".//mstns:Smeni" />
  804. <xs:field xpath="mstns:id" />
  805. </xs:unique>
  806. <xs:unique name="StatusiPolzovateley_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  807. <xs:selector xpath=".//mstns:StatusiPolzovateley" />
  808. <xs:field xpath="mstns:id" />
  809. </xs:unique>
  810. <xs:unique name="StatusiZakaza_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  811. <xs:selector xpath=".//mstns:StatusiZakaza" />
  812. <xs:field xpath="mstns:id" />
  813. </xs:unique>
  814. <xs:unique name="Stoliki_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  815. <xs:selector xpath=".//mstns:Stoliki" />
  816. <xs:field xpath="mstns:id" />
  817. </xs:unique>
  818. <xs:unique name="TipiOplati_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  819. <xs:selector xpath=".//mstns:TipiOplati" />
  820. <xs:field xpath="mstns:id" />
  821. </xs:unique>
  822. <xs:unique name="ZakazannieBluda_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  823. <xs:selector xpath=".//mstns:ZakazannieBluda" />
  824. <xs:field xpath="mstns:id" />
  825. </xs:unique>
  826. <xs:unique name="Zakazi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  827. <xs:selector xpath=".//mstns:Zakazi" />
  828. <xs:field xpath="mstns:id" />
  829. </xs:unique>
  830. </xs:element>
  831. <xs:annotation>
  832. <xs:appinfo>
  833. <msdata:Relationship name="FK_Polzovateli_StatusiPolzovateley" msdata:parent="StatusiPolzovateley" msdata:child="Polzovateli" msdata:parentkey="id" msdata:childkey="СтатусПользователя" msprop:Generator_UserChildTable="Polzovateli" msprop:Generator_ChildPropName="GetPolzovateliRows" msprop:Generator_UserRelationName="FK_Polzovateli_StatusiPolzovateley" msprop:Generator_RelationVarName="relationFK_Polzovateli_StatusiPolzovateley" msprop:Generator_UserParentTable="StatusiPolzovateley" msprop:Generator_ParentPropName="StatusiPolzovateleyRow" />
  834. <msdata:Relationship name="FK_Polzovateli_Должность" msdata:parent="Doljnosti" msdata:child="Polzovateli" msdata:parentkey="id" msdata:childkey="Doljnost" msprop:Generator_UserChildTable="Polzovateli" msprop:Generator_ChildPropName="GetPolzovateliRows" msprop:Generator_UserRelationName="FK_Polzovateli_Должность" msprop:Generator_ParentPropName="DoljnostiRow" msprop:Generator_RelationVarName="relationFK_Polzovateli_Должность" msprop:Generator_UserParentTable="Doljnosti" />
  835. <msdata:Relationship name="FK_Smeni_Polzovateli" msdata:parent="Polzovateli" msdata:child="Smeni" msdata:parentkey="id" msdata:childkey="id" msprop:Generator_UserChildTable="Smeni" msprop:Generator_ChildPropName="GetSmeniRows" msprop:Generator_UserRelationName="FK_Smeni_Polzovateli" msprop:Generator_ParentPropName="PolzovateliRow" msprop:Generator_RelationVarName="relationFK_Smeni_Polzovateli" msprop:Generator_UserParentTable="Polzovateli" />
  836. <msdata:Relationship name="FK_ZakazannieBluda_Bluda" msdata:parent="Bluda" msdata:child="ZakazannieBluda" msdata:parentkey="id" msdata:childkey="ЗаказанныеБлюда" msprop:Generator_UserChildTable="ZakazannieBluda" msprop:Generator_ChildPropName="GetZakazannieBludaRows" msprop:Generator_UserRelationName="FK_ZakazannieBluda_Bluda" msprop:Generator_ParentPropName="BludaRow" msprop:Generator_RelationVarName="relationFK_ZakazannieBluda_Bluda" msprop:Generator_UserParentTable="Bluda" />
  837. <msdata:Relationship name="FK_Zakazi_Smeni" msdata:parent="Smeni" msdata:child="Zakazi" msdata:parentkey="id" msdata:childkey="Смена" msprop:Generator_UserChildTable="Zakazi" msprop:Generator_ChildPropName="GetZakaziRows" msprop:Generator_UserRelationName="FK_Zakazi_Smeni" msprop:Generator_ParentPropName="SmeniRow" msprop:Generator_RelationVarName="relationFK_Zakazi_Smeni" msprop:Generator_UserParentTable="Smeni" />
  838. <msdata:Relationship name="FK_Zakazi_StatusZakaza" msdata:parent="StatusiZakaza" msdata:child="Zakazi" msdata:parentkey="id" msdata:childkey="СтатусЗаказа" msprop:Generator_UserChildTable="Zakazi" msprop:Generator_ChildPropName="GetZakaziRows" msprop:Generator_UserRelationName="FK_Zakazi_StatusZakaza" msprop:Generator_ParentPropName="StatusiZakazaRow" msprop:Generator_RelationVarName="relationFK_Zakazi_StatusZakaza" msprop:Generator_UserParentTable="StatusiZakaza" />
  839. <msdata:Relationship name="FK_Zakazi_Stoliki" msdata:parent="Stoliki" msdata:child="Zakazi" msdata:parentkey="id" msdata:childkey="Столик" msprop:Generator_UserChildTable="Zakazi" msprop:Generator_ChildPropName="GetZakaziRows" msprop:Generator_UserRelationName="FK_Zakazi_Stoliki" msprop:Generator_ParentPropName="StolikiRow" msprop:Generator_RelationVarName="relationFK_Zakazi_Stoliki" msprop:Generator_UserParentTable="Stoliki" />
  840. <msdata:Relationship name="FK_Zakazi_TipOplati" msdata:parent="TipiOplati" msdata:child="Zakazi" msdata:parentkey="id" msdata:childkey="ТипОплаты" msprop:Generator_UserChildTable="Zakazi" msprop:Generator_ChildPropName="GetZakaziRows" msprop:Generator_UserRelationName="FK_Zakazi_TipOplati" msprop:Generator_ParentPropName="TipiOplatiRow" msprop:Generator_RelationVarName="relationFK_Zakazi_TipOplati" msprop:Generator_UserParentTable="TipiOplati" />
  841. <msdata:Relationship name="FK_Zakazi_ZakazannieBluda" msdata:parent="ZakazannieBluda" msdata:child="Zakazi" msdata:parentkey="id" msdata:childkey="ЗаказанныеБлюда" msprop:Generator_UserChildTable="Zakazi" msprop:Generator_ChildPropName="GetZakaziRows" msprop:Generator_UserRelationName="FK_Zakazi_ZakazannieBluda" msprop:Generator_ParentPropName="ZakazannieBludaRow" msprop:Generator_RelationVarName="relationFK_Zakazi_ZakazannieBluda" msprop:Generator_UserParentTable="ZakazannieBluda" />
  842. </xs:appinfo>
  843. </xs:annotation>
  844. </xs:schema>