Starichikhina_remont_butovoy_texnikiDataSet.xsd 106 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="Starichikhina_remont_butovoy_texnikiDataSet" targetNamespace="http://tempuri.org/Starichikhina_remont_butovoy_texnikiDataSet.xsd" xmlns:mstns="http://tempuri.org/Starichikhina_remont_butovoy_texnikiDataSet.xsd" xmlns="http://tempuri.org/Starichikhina_remont_butovoy_texnikiDataSet.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="Starichikhina_remont_butovoy_texnikiConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Starichkxina_remont_bytovoy_texniki.Properties.Settings.GlobalReference.Default.Starichikhina_remont_butovoy_texnikiConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="заказTableAdapter" GeneratorDataComponentClassName="заказTableAdapter" Name="заказ" UserDataComponentName="заказTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.заказ" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  13. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>DELETE FROM [dbo].[заказ] WHERE (([id_заказа] = @Original_id_заказа) AND ((@IsNull_ФИО = 1 AND [ФИО] IS NULL) OR ([ФИО] = @Original_ФИО)) AND ((@IsNull_id_товара = 1 AND [id_товара] IS NULL) OR ([id_товара] = @Original_id_товара)) AND ((@IsNull_гарантия = 1 AND [гарантия] IS NULL) OR ([гарантия] = @Original_гарантия)) AND ((@IsNull_дата_поступления_заказа = 1 AND [дата_поступления_заказа] IS NULL) OR ([дата_поступления_заказа] = @Original_дата_поступления_заказа)) AND ((@p3 = 1 AND [телефон-клиента] IS NULL) OR ([телефон-клиента] = @p2)))</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. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_гарантия" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="гарантия" SourceColumnNullMapping="true" SourceVersion="Original" />
  23. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_гарантия" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="гарантия" SourceColumnNullMapping="false" SourceVersion="Original" />
  24. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата_поступления_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата_поступления_заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  25. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_дата_поступления_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата_поступления_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  26. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
  27. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@p2" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
  28. </Parameters>
  29. </DbCommand>
  30. </DeleteCommand>
  31. <InsertCommand>
  32. <DbCommand CommandType="Text" ModifiedByUser="false">
  33. <CommandText>INSERT INTO [dbo].[заказ] ([ФИО], [id_товара], [гарантия], [дата_поступления_заказа], [телефон-клиента]) VALUES (@ФИО, @id_товара, @гарантия, @дата_поступления_заказа, @p1);
  34. SELECT id_заказа, ФИО, id_товара, гарантия, дата_поступления_заказа, [телефон-клиента] FROM заказ WHERE (id_заказа = SCOPE_IDENTITY())</CommandText>
  35. <Parameters>
  36. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
  37. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  38. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@гарантия" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="гарантия" SourceColumnNullMapping="false" SourceVersion="Current" />
  39. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@дата_поступления_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата_поступления_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  40. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@p1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
  41. </Parameters>
  42. </DbCommand>
  43. </InsertCommand>
  44. <SelectCommand>
  45. <DbCommand CommandType="Text" ModifiedByUser="false">
  46. <CommandText>SELECT id_заказа, ФИО, id_товара, гарантия, дата_поступления_заказа, [телефон-клиента] FROM dbo.заказ</CommandText>
  47. <Parameters />
  48. </DbCommand>
  49. </SelectCommand>
  50. <UpdateCommand>
  51. <DbCommand CommandType="Text" ModifiedByUser="false">
  52. <CommandText>UPDATE [dbo].[заказ] SET [ФИО] = @ФИО, [id_товара] = @id_товара, [гарантия] = @гарантия, [дата_поступления_заказа] = @дата_поступления_заказа, [телефон-клиента] = @p1 WHERE (([id_заказа] = @Original_id_заказа) AND ((@IsNull_ФИО = 1 AND [ФИО] IS NULL) OR ([ФИО] = @Original_ФИО)) AND ((@IsNull_id_товара = 1 AND [id_товара] IS NULL) OR ([id_товара] = @Original_id_товара)) AND ((@IsNull_гарантия = 1 AND [гарантия] IS NULL) OR ([гарантия] = @Original_гарантия)) AND ((@IsNull_дата_поступления_заказа = 1 AND [дата_поступления_заказа] IS NULL) OR ([дата_поступления_заказа] = @Original_дата_поступления_заказа)) AND ((@p3 = 1 AND [телефон-клиента] IS NULL) OR ([телефон-клиента] = @p2)));
  53. SELECT id_заказа, ФИО, id_товара, гарантия, дата_поступления_заказа, [телефон-клиента] FROM заказ WHERE (id_заказа = @id_заказа)</CommandText>
  54. <Parameters>
  55. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
  56. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  57. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@гарантия" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="гарантия" SourceColumnNullMapping="false" SourceVersion="Current" />
  58. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@дата_поступления_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата_поступления_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  59. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@p1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
  60. <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" />
  61. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ФИО" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="true" SourceVersion="Original" />
  62. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Original" />
  63. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_id_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  64. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  65. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_гарантия" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="гарантия" SourceColumnNullMapping="true" SourceVersion="Original" />
  66. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_гарантия" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="гарантия" SourceColumnNullMapping="false" SourceVersion="Original" />
  67. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата_поступления_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата_поступления_заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  68. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_дата_поступления_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата_поступления_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  69. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
  70. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@p2" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="телефон-клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
  71. <Parameter AllowDbNull="false" AutogeneratedName="id_заказа" ColumnName="id_заказа" DataSourceName="Starichikhina_remont_butovoy_texniki.dbo.заказ" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_заказа" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  72. </Parameters>
  73. </DbCommand>
  74. </UpdateCommand>
  75. </DbSource>
  76. </MainSource>
  77. <Mappings>
  78. <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
  79. <Mapping SourceColumn="ФИО" DataSetColumn="ФИО" />
  80. <Mapping SourceColumn="id_товара" DataSetColumn="id_товара" />
  81. <Mapping SourceColumn="гарантия" DataSetColumn="гарантия" />
  82. <Mapping SourceColumn="дата_поступления_заказа" DataSetColumn="дата_поступления_заказа" />
  83. <Mapping SourceColumn="телефон-клиента" DataSetColumn="телефон-клиента" />
  84. </Mappings>
  85. <Sources />
  86. </TableAdapter>
  87. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="исполнение_заказовTableAdapter" GeneratorDataComponentClassName="исполнение_заказовTableAdapter" Name="исполнение_заказов" UserDataComponentName="исполнение_заказовTableAdapter">
  88. <MainSource>
  89. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.исполнение_заказов" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  90. <DeleteCommand>
  91. <DbCommand CommandType="Text" ModifiedByUser="false">
  92. <CommandText>DELETE FROM [dbo].[исполнение_заказов] 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 ([id_сотрудника] = @Original_id_сотрудника))</CommandText>
  93. <Parameters>
  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="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_стоимость_ремонта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="стоимость_ремонта" SourceColumnNullMapping="true" SourceVersion="Original" />
  98. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_стоимость_ремонта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="стоимость_ремонта" SourceColumnNullMapping="false" SourceVersion="Original" />
  99. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата_исполнения_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата_исполнения_заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  100. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_дата_исполнения_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата_исполнения_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  101. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_сообщение_клиенту" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="сообщение_клиенту" SourceColumnNullMapping="true" SourceVersion="Original" />
  102. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_сообщение_клиенту" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="сообщение_клиенту" SourceColumnNullMapping="false" SourceVersion="Original" />
  103. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата_получения_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата_получения_товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  104. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_дата_получения_товара" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="дата_получения_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  105. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_сумма_оплаты_услуг" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="сумма_оплаты_услуг" SourceColumnNullMapping="true" SourceVersion="Original" />
  106. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_сумма_оплаты_услуг" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="сумма_оплаты_услуг" SourceColumnNullMapping="false" SourceVersion="Original" />
  107. <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" />
  108. </Parameters>
  109. </DbCommand>
  110. </DeleteCommand>
  111. <InsertCommand>
  112. <DbCommand CommandType="Text" ModifiedByUser="false">
  113. <CommandText>INSERT INTO [dbo].[исполнение_заказов] ([вид_ремонта], [стоимость_ремонта], [дата_исполнения_заказа], [сообщение_клиенту], [дата_получения_товара], [сумма_оплаты_услуг], [id_сотрудника]) VALUES (@вид_ремонта, @стоимость_ремонта, @дата_исполнения_заказа, @сообщение_клиенту, @дата_получения_товара, @сумма_оплаты_услуг, @id_сотрудника);
  114. SELECT id_заказа, вид_ремонта, стоимость_ремонта, дата_исполнения_заказа, сообщение_клиенту, дата_получения_товара, сумма_оплаты_услуг, id_сотрудника FROM исполнение_заказов WHERE (id_заказа = SCOPE_IDENTITY())</CommandText>
  115. <Parameters>
  116. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@вид_ремонта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="вид_ремонта" SourceColumnNullMapping="false" SourceVersion="Current" />
  117. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@стоимость_ремонта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="стоимость_ремонта" SourceColumnNullMapping="false" SourceVersion="Current" />
  118. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@дата_исполнения_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата_исполнения_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  119. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@сообщение_клиенту" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="сообщение_клиенту" SourceColumnNullMapping="false" SourceVersion="Current" />
  120. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@дата_получения_товара" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="дата_получения_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  121. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@сумма_оплаты_услуг" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="сумма_оплаты_услуг" SourceColumnNullMapping="false" SourceVersion="Current" />
  122. <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" />
  123. </Parameters>
  124. </DbCommand>
  125. </InsertCommand>
  126. <SelectCommand>
  127. <DbCommand CommandType="Text" ModifiedByUser="false">
  128. <CommandText>SELECT id_заказа, вид_ремонта, стоимость_ремонта, дата_исполнения_заказа, сообщение_клиенту, дата_получения_товара, сумма_оплаты_услуг, id_сотрудника FROM dbo.исполнение_заказов</CommandText>
  129. <Parameters />
  130. </DbCommand>
  131. </SelectCommand>
  132. <UpdateCommand>
  133. <DbCommand CommandType="Text" ModifiedByUser="false">
  134. <CommandText>UPDATE [dbo].[исполнение_заказов] SET [вид_ремонта] = @вид_ремонта, [стоимость_ремонта] = @стоимость_ремонта, [дата_исполнения_заказа] = @дата_исполнения_заказа, [сообщение_клиенту] = @сообщение_клиенту, [дата_получения_товара] = @дата_получения_товара, [сумма_оплаты_услуг] = @сумма_оплаты_услуг, [id_сотрудника] = @id_сотрудника 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 ([id_сотрудника] = @Original_id_сотрудника));
  135. SELECT id_заказа, вид_ремонта, стоимость_ремонта, дата_исполнения_заказа, сообщение_клиенту, дата_получения_товара, сумма_оплаты_услуг, id_сотрудника FROM исполнение_заказов WHERE (id_заказа = @id_заказа)</CommandText>
  136. <Parameters>
  137. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@вид_ремонта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="вид_ремонта" SourceColumnNullMapping="false" SourceVersion="Current" />
  138. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@стоимость_ремонта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="стоимость_ремонта" SourceColumnNullMapping="false" SourceVersion="Current" />
  139. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@дата_исполнения_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата_исполнения_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  140. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@сообщение_клиенту" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="сообщение_клиенту" SourceColumnNullMapping="false" SourceVersion="Current" />
  141. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@дата_получения_товара" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="дата_получения_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  142. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@сумма_оплаты_услуг" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="сумма_оплаты_услуг" SourceColumnNullMapping="false" SourceVersion="Current" />
  143. <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" />
  144. <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" />
  145. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_вид_ремонта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="вид_ремонта" SourceColumnNullMapping="true" SourceVersion="Original" />
  146. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_вид_ремонта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="вид_ремонта" SourceColumnNullMapping="false" SourceVersion="Original" />
  147. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_стоимость_ремонта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="стоимость_ремонта" SourceColumnNullMapping="true" SourceVersion="Original" />
  148. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_стоимость_ремонта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="стоимость_ремонта" SourceColumnNullMapping="false" SourceVersion="Original" />
  149. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата_исполнения_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата_исполнения_заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  150. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_дата_исполнения_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="дата_исполнения_заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  151. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_сообщение_клиенту" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="сообщение_клиенту" SourceColumnNullMapping="true" SourceVersion="Original" />
  152. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_сообщение_клиенту" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="сообщение_клиенту" SourceColumnNullMapping="false" SourceVersion="Original" />
  153. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата_получения_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата_получения_товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  154. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_дата_получения_товара" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="дата_получения_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  155. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_сумма_оплаты_услуг" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="сумма_оплаты_услуг" SourceColumnNullMapping="true" SourceVersion="Original" />
  156. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_сумма_оплаты_услуг" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="сумма_оплаты_услуг" SourceColumnNullMapping="false" SourceVersion="Original" />
  157. <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" />
  158. <Parameter AllowDbNull="false" AutogeneratedName="id_заказа" ColumnName="id_заказа" DataSourceName="Starichikhina_remont_butovoy_texniki.dbo.исполнение_заказов" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_заказа" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  159. </Parameters>
  160. </DbCommand>
  161. </UpdateCommand>
  162. </DbSource>
  163. </MainSource>
  164. <Mappings>
  165. <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
  166. <Mapping SourceColumn="вид_ремонта" DataSetColumn="вид_ремонта" />
  167. <Mapping SourceColumn="стоимость_ремонта" DataSetColumn="стоимость_ремонта" />
  168. <Mapping SourceColumn="дата_исполнения_заказа" DataSetColumn="дата_исполнения_заказа" />
  169. <Mapping SourceColumn="сообщение_клиенту" DataSetColumn="сообщение_клиенту" />
  170. <Mapping SourceColumn="дата_получения_товара" DataSetColumn="дата_получения_товара" />
  171. <Mapping SourceColumn="сумма_оплаты_услуг" DataSetColumn="сумма_оплаты_услуг" />
  172. <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
  173. </Mappings>
  174. <Sources />
  175. </TableAdapter>
  176. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="сотрудникиTableAdapter" GeneratorDataComponentClassName="сотрудникиTableAdapter" Name="сотрудники" UserDataComponentName="сотрудникиTableAdapter">
  177. <MainSource>
  178. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.сотрудники" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  179. <DeleteCommand>
  180. <DbCommand CommandType="Text" ModifiedByUser="false">
  181. <CommandText>DELETE FROM [dbo].[сотрудники] WHERE (([id_сотрудника] = @Original_id_сотрудника) AND ((@IsNull_ФИО = 1 AND [ФИО] IS NULL) OR ([ФИО] = @Original_ФИО)) AND ((@IsNull_должность = 1 AND [должность] IS NULL) OR ([должность] = @Original_должность)))</CommandText>
  182. <Parameters>
  183. <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" />
  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_должность" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="должность" SourceColumnNullMapping="true" SourceVersion="Original" />
  187. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_должность" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="должность" SourceColumnNullMapping="false" SourceVersion="Original" />
  188. </Parameters>
  189. </DbCommand>
  190. </DeleteCommand>
  191. <InsertCommand>
  192. <DbCommand CommandType="Text" ModifiedByUser="false">
  193. <CommandText>INSERT INTO [dbo].[сотрудники] ([ФИО], [должность]) VALUES (@ФИО, @должность);
  194. SELECT id_сотрудника, ФИО, должность FROM сотрудники WHERE (id_сотрудника = SCOPE_IDENTITY())</CommandText>
  195. <Parameters>
  196. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
  197. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@должность" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="должность" SourceColumnNullMapping="false" SourceVersion="Current" />
  198. </Parameters>
  199. </DbCommand>
  200. </InsertCommand>
  201. <SelectCommand>
  202. <DbCommand CommandType="Text" ModifiedByUser="false">
  203. <CommandText>SELECT id_сотрудника, ФИО, должность FROM dbo.сотрудники</CommandText>
  204. <Parameters />
  205. </DbCommand>
  206. </SelectCommand>
  207. <UpdateCommand>
  208. <DbCommand CommandType="Text" ModifiedByUser="false">
  209. <CommandText>UPDATE [dbo].[сотрудники] SET [ФИО] = @ФИО, [должность] = @должность WHERE (([id_сотрудника] = @Original_id_сотрудника) AND ((@IsNull_ФИО = 1 AND [ФИО] IS NULL) OR ([ФИО] = @Original_ФИО)) AND ((@IsNull_должность = 1 AND [должность] IS NULL) OR ([должность] = @Original_должность)));
  210. SELECT id_сотрудника, ФИО, должность FROM сотрудники WHERE (id_сотрудника = @id_сотрудника)</CommandText>
  211. <Parameters>
  212. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Current" />
  213. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@должность" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="должность" SourceColumnNullMapping="false" SourceVersion="Current" />
  214. <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" />
  215. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ФИО" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="true" SourceVersion="Original" />
  216. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ФИО" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ФИО" SourceColumnNullMapping="false" SourceVersion="Original" />
  217. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_должность" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="должность" SourceColumnNullMapping="true" SourceVersion="Original" />
  218. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_должность" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="должность" SourceColumnNullMapping="false" SourceVersion="Original" />
  219. <Parameter AllowDbNull="false" AutogeneratedName="id_сотрудника" ColumnName="id_сотрудника" DataSourceName="Starichikhina_remont_butovoy_texniki.dbo.сотрудники" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_сотрудника" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
  220. </Parameters>
  221. </DbCommand>
  222. </UpdateCommand>
  223. </DbSource>
  224. </MainSource>
  225. <Mappings>
  226. <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
  227. <Mapping SourceColumn="ФИО" DataSetColumn="ФИО" />
  228. <Mapping SourceColumn="должность" DataSetColumn="должность" />
  229. </Mappings>
  230. <Sources />
  231. </TableAdapter>
  232. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="сотрудники_исполнение_заказовTableAdapter" GeneratorDataComponentClassName="сотрудники_исполнение_заказовTableAdapter" Name="сотрудники_исполнение_заказов" UserDataComponentName="сотрудники_исполнение_заказовTableAdapter">
  233. <MainSource>
  234. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.сотрудники_исполнение_заказов" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  235. <InsertCommand>
  236. <DbCommand CommandType="Text" ModifiedByUser="false">
  237. <CommandText>INSERT INTO [dbo].[сотрудники_исполнение_заказов] ([id_сотрудника], [id_заказа]) VALUES (@id_сотрудника, @id_заказа)</CommandText>
  238. <Parameters>
  239. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_сотрудника" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_сотрудника" SourceColumnNullMapping="false" SourceVersion="Current" />
  240. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  241. </Parameters>
  242. </DbCommand>
  243. </InsertCommand>
  244. <SelectCommand>
  245. <DbCommand CommandType="Text" ModifiedByUser="false">
  246. <CommandText>SELECT id_сотрудника, id_заказа FROM dbo.сотрудники_исполнение_заказов</CommandText>
  247. <Parameters />
  248. </DbCommand>
  249. </SelectCommand>
  250. </DbSource>
  251. </MainSource>
  252. <Mappings>
  253. <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
  254. <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
  255. </Mappings>
  256. <Sources />
  257. </TableAdapter>
  258. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ТоварыTableAdapter" GeneratorDataComponentClassName="ТоварыTableAdapter" Name="Товары" UserDataComponentName="ТоварыTableAdapter">
  259. <MainSource>
  260. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.Товары" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  261. <DeleteCommand>
  262. <DbCommand CommandType="Text" ModifiedByUser="false">
  263. <CommandText>DELETE FROM [dbo].[Товары] 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_гарантированный_срок)))</CommandText>
  264. <Parameters>
  265. <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" />
  266. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_наим_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="наим_товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  267. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_наим_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="наим_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  268. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="фирма" SourceColumnNullMapping="true" SourceVersion="Original" />
  269. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_фирма" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="фирма" SourceColumnNullMapping="false" SourceVersion="Original" />
  270. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_модель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="модель" SourceColumnNullMapping="true" SourceVersion="Original" />
  271. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_модель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="модель" SourceColumnNullMapping="false" SourceVersion="Original" />
  272. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_технические_характеристики" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="технические_характеристики" SourceColumnNullMapping="true" SourceVersion="Original" />
  273. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_технические_характеристики" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="технические_характеристики" SourceColumnNullMapping="false" SourceVersion="Original" />
  274. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_гарантированный_срок" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="гарантированный_срок" SourceColumnNullMapping="true" SourceVersion="Original" />
  275. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_гарантированный_срок" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="гарантированный_срок" SourceColumnNullMapping="false" SourceVersion="Original" />
  276. </Parameters>
  277. </DbCommand>
  278. </DeleteCommand>
  279. <InsertCommand>
  280. <DbCommand CommandType="Text" ModifiedByUser="false">
  281. <CommandText>INSERT INTO [dbo].[Товары] ([наим_товара], [фирма], [модель], [технические_характеристики], [гарантированный_срок], [изображение]) VALUES (@наим_товара, @фирма, @модель, @технические_характеристики, @гарантированный_срок, @изображение);
  282. SELECT id_товара, наим_товара, фирма, модель, технические_характеристики, гарантированный_срок, изображение FROM Товары WHERE (id_товара = SCOPE_IDENTITY())</CommandText>
  283. <Parameters>
  284. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@наим_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="наим_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  285. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@фирма" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="фирма" SourceColumnNullMapping="false" SourceVersion="Current" />
  286. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@модель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="модель" SourceColumnNullMapping="false" SourceVersion="Current" />
  287. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@технические_характеристики" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="технические_характеристики" SourceColumnNullMapping="false" SourceVersion="Current" />
  288. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@гарантированный_срок" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="гарантированный_срок" SourceColumnNullMapping="false" SourceVersion="Current" />
  289. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@изображение" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  290. </Parameters>
  291. </DbCommand>
  292. </InsertCommand>
  293. <SelectCommand>
  294. <DbCommand CommandType="Text" ModifiedByUser="false">
  295. <CommandText>SELECT id_товара, наим_товара, фирма, модель, технические_характеристики, гарантированный_срок, изображение FROM dbo.Товары</CommandText>
  296. <Parameters />
  297. </DbCommand>
  298. </SelectCommand>
  299. <UpdateCommand>
  300. <DbCommand CommandType="Text" ModifiedByUser="false">
  301. <CommandText>UPDATE [dbo].[Товары] 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_гарантированный_срок)));
  302. SELECT id_товара, наим_товара, фирма, модель, технические_характеристики, гарантированный_срок, изображение FROM Товары WHERE (id_товара = @id_товара)</CommandText>
  303. <Parameters>
  304. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@наим_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="наим_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  305. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@фирма" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="фирма" SourceColumnNullMapping="false" SourceVersion="Current" />
  306. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@модель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="модель" SourceColumnNullMapping="false" SourceVersion="Current" />
  307. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@технические_характеристики" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="технические_характеристики" SourceColumnNullMapping="false" SourceVersion="Current" />
  308. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@гарантированный_срок" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="гарантированный_срок" SourceColumnNullMapping="false" SourceVersion="Current" />
  309. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@изображение" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  310. <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" />
  311. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_наим_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="наим_товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  312. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_наим_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="наим_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  313. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="фирма" SourceColumnNullMapping="true" SourceVersion="Original" />
  314. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_фирма" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="фирма" SourceColumnNullMapping="false" SourceVersion="Original" />
  315. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_модель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="модель" SourceColumnNullMapping="true" SourceVersion="Original" />
  316. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_модель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="модель" SourceColumnNullMapping="false" SourceVersion="Original" />
  317. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_технические_характеристики" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="технические_характеристики" SourceColumnNullMapping="true" SourceVersion="Original" />
  318. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_технические_характеристики" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="технические_характеристики" SourceColumnNullMapping="false" SourceVersion="Original" />
  319. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_гарантированный_срок" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="гарантированный_срок" SourceColumnNullMapping="true" SourceVersion="Original" />
  320. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_гарантированный_срок" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="гарантированный_срок" SourceColumnNullMapping="false" SourceVersion="Original" />
  321. <Parameter AllowDbNull="false" AutogeneratedName="id_товара" ColumnName="id_товара" DataSourceName="Starichikhina_remont_butovoy_texniki.dbo.Товары" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_товара" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  322. </Parameters>
  323. </DbCommand>
  324. </UpdateCommand>
  325. </DbSource>
  326. </MainSource>
  327. <Mappings>
  328. <Mapping SourceColumn="id_товара" DataSetColumn="id_товара" />
  329. <Mapping SourceColumn="наим_товара" DataSetColumn="наим_товара" />
  330. <Mapping SourceColumn="фирма" DataSetColumn="фирма" />
  331. <Mapping SourceColumn="модель" DataSetColumn="модель" />
  332. <Mapping SourceColumn="технические_характеристики" DataSetColumn="технические_характеристики" />
  333. <Mapping SourceColumn="гарантированный_срок" DataSetColumn="гарантированный_срок" />
  334. <Mapping SourceColumn="изображение" DataSetColumn="изображение" />
  335. </Mappings>
  336. <Sources />
  337. </TableAdapter>
  338. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="zakazTableAdapter" GeneratorDataComponentClassName="zakazTableAdapter" Name="zakaz" UserDataComponentName="zakazTableAdapter">
  339. <MainSource>
  340. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.zakaz" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
  341. <SelectCommand>
  342. <DbCommand CommandType="Text" ModifiedByUser="false">
  343. <CommandText>SELECT id_заказа, гарантия, id_сотрудника FROM dbo.zakaz</CommandText>
  344. <Parameters />
  345. </DbCommand>
  346. </SelectCommand>
  347. </DbSource>
  348. </MainSource>
  349. <Mappings>
  350. <Mapping SourceColumn="id_заказа" DataSetColumn="id_заказа" />
  351. <Mapping SourceColumn="гарантия" DataSetColumn="гарантия" />
  352. <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
  353. </Mappings>
  354. <Sources />
  355. </TableAdapter>
  356. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="запрос_2TableAdapter" GeneratorDataComponentClassName="запрос_2TableAdapter" Name="запрос_2" UserDataComponentName="запрос_2TableAdapter">
  357. <MainSource>
  358. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.запрос_2" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
  359. <SelectCommand>
  360. <DbCommand CommandType="Text" ModifiedByUser="false">
  361. <CommandText>SELECT id_сотрудника, ФИО, вид_ремонта FROM dbo.запрос_2</CommandText>
  362. <Parameters />
  363. </DbCommand>
  364. </SelectCommand>
  365. </DbSource>
  366. </MainSource>
  367. <Mappings>
  368. <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
  369. <Mapping SourceColumn="ФИО" DataSetColumn="ФИО" />
  370. <Mapping SourceColumn="вид_ремонта" DataSetColumn="вид_ремонта" />
  371. </Mappings>
  372. <Sources />
  373. </TableAdapter>
  374. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="запрос_3TableAdapter" GeneratorDataComponentClassName="запрос_3TableAdapter" Name="запрос_3" UserDataComponentName="запрос_3TableAdapter">
  375. <MainSource>
  376. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.запрос_3" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
  377. <SelectCommand>
  378. <DbCommand CommandType="Text" ModifiedByUser="false">
  379. <CommandText>SELECT id_сотрудника, ФИО, должность FROM dbo.запрос_3</CommandText>
  380. <Parameters />
  381. </DbCommand>
  382. </SelectCommand>
  383. </DbSource>
  384. </MainSource>
  385. <Mappings>
  386. <Mapping SourceColumn="id_сотрудника" DataSetColumn="id_сотрудника" />
  387. <Mapping SourceColumn="ФИО" DataSetColumn="ФИО" />
  388. <Mapping SourceColumn="должность" DataSetColumn="должность" />
  389. </Mappings>
  390. <Sources />
  391. </TableAdapter>
  392. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ПредставлениеTableAdapter" GeneratorDataComponentClassName="ПредставлениеTableAdapter" Name="Представление" UserDataComponentName="ПредставлениеTableAdapter">
  393. <MainSource>
  394. <DbSource ConnectionRef="Starichikhina_remont_butovoy_texnikiConnectionString (Settings)" DbObjectName="Starichikhina_remont_butovoy_texniki.dbo.Представление" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
  395. <SelectCommand>
  396. <DbCommand CommandType="Text" ModifiedByUser="false">
  397. <CommandText>SELECT наим_товара, ФИО, должность, вид_ремонта, дата_исполнения_заказа FROM dbo.Представление</CommandText>
  398. <Parameters />
  399. </DbCommand>
  400. </SelectCommand>
  401. </DbSource>
  402. </MainSource>
  403. <Mappings>
  404. <Mapping SourceColumn="наим_товара" DataSetColumn="наим_товара" />
  405. <Mapping SourceColumn="ФИО" DataSetColumn="ФИО" />
  406. <Mapping SourceColumn="должность" DataSetColumn="должность" />
  407. <Mapping SourceColumn="вид_ремонта" DataSetColumn="вид_ремонта" />
  408. <Mapping SourceColumn="дата_исполнения_заказа" DataSetColumn="дата_исполнения_заказа" />
  409. </Mappings>
  410. <Sources />
  411. </TableAdapter>
  412. </Tables>
  413. <Sources />
  414. </DataSource>
  415. </xs:appinfo>
  416. </xs:annotation>
  417. <xs:element name="Starichikhina_remont_butovoy_texnikiDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="Starichikhina_remont_butovoy_texnikiDataSet" msprop:Generator_UserDSName="Starichikhina_remont_butovoy_texnikiDataSet">
  418. <xs:complexType>
  419. <xs:choice minOccurs="0" maxOccurs="unbounded">
  420. <xs:element name="заказ" msprop:Generator_TableClassName="заказDataTable" msprop:Generator_TableVarName="tableзаказ" msprop:Generator_TablePropName="заказ" msprop:Generator_RowDeletingName="заказRowDeleting" msprop:Generator_RowChangingName="заказRowChanging" msprop:Generator_RowEvHandlerName="заказRowChangeEventHandler" msprop:Generator_RowDeletedName="заказRowDeleted" msprop:Generator_UserTableName="заказ" msprop:Generator_RowChangedName="заказRowChanged" msprop:Generator_RowEvArgName="заказRowChangeEvent" msprop:Generator_RowClassName="заказRow">
  421. <xs:complexType>
  422. <xs:sequence>
  423. <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="id_заказаColumn" msprop:Generator_UserColumnName="id_заказа" type="xs:int" />
  424. <xs:element name="ФИО" msprop:Generator_ColumnVarNameInTable="columnФИО" msprop:Generator_ColumnPropNameInRow="ФИО" msprop:Generator_ColumnPropNameInTable="ФИОColumn" msprop:Generator_UserColumnName="ФИО" minOccurs="0">
  425. <xs:simpleType>
  426. <xs:restriction base="xs:string">
  427. <xs:maxLength value="50" />
  428. </xs:restriction>
  429. </xs:simpleType>
  430. </xs:element>
  431. <xs:element name="id_товара" msprop:Generator_ColumnVarNameInTable="columnid_товара" msprop:Generator_ColumnPropNameInRow="id_товара" msprop:Generator_ColumnPropNameInTable="id_товараColumn" msprop:Generator_UserColumnName="id_товара" type="xs:int" minOccurs="0" />
  432. <xs:element name="гарантия" msprop:Generator_ColumnVarNameInTable="columnгарантия" msprop:Generator_ColumnPropNameInRow="гарантия" msprop:Generator_ColumnPropNameInTable="гарантияColumn" msprop:Generator_UserColumnName="гарантия" type="xs:boolean" minOccurs="0" />
  433. <xs:element name="дата_поступления_заказа" msprop:Generator_ColumnVarNameInTable="columnдата_поступления_заказа" msprop:Generator_ColumnPropNameInRow="дата_поступления_заказа" msprop:Generator_ColumnPropNameInTable="дата_поступления_заказаColumn" msprop:Generator_UserColumnName="дата_поступления_заказа" type="xs:dateTime" minOccurs="0" />
  434. <xs:element name="телефон-клиента" msprop:Generator_ColumnVarNameInTable="_columnтелефон_клиента" msprop:Generator_ColumnPropNameInRow="_телефон_клиента" msprop:Generator_ColumnPropNameInTable="_телефон_клиентаColumn" msprop:Generator_UserColumnName="телефон-клиента" type="xs:decimal" minOccurs="0" />
  435. </xs:sequence>
  436. </xs:complexType>
  437. </xs:element>
  438. <xs:element name="исполнение_заказов" msprop:Generator_TableClassName="исполнение_заказовDataTable" msprop:Generator_TableVarName="tableисполнение_заказов" msprop:Generator_TablePropName="исполнение_заказов" msprop:Generator_RowDeletingName="исполнение_заказовRowDeleting" msprop:Generator_RowChangingName="исполнение_заказовRowChanging" msprop:Generator_RowEvHandlerName="исполнение_заказовRowChangeEventHandler" msprop:Generator_RowDeletedName="исполнение_заказовRowDeleted" msprop:Generator_UserTableName="исполнение_заказов" msprop:Generator_RowChangedName="исполнение_заказовRowChanged" msprop:Generator_RowEvArgName="исполнение_заказовRowChangeEvent" msprop:Generator_RowClassName="исполнение_заказовRow">
  439. <xs:complexType>
  440. <xs:sequence>
  441. <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="id_заказаColumn" msprop:Generator_UserColumnName="id_заказа" type="xs:int" />
  442. <xs:element name="вид_ремонта" msprop:Generator_ColumnVarNameInTable="columnвид_ремонта" msprop:Generator_ColumnPropNameInRow="вид_ремонта" msprop:Generator_ColumnPropNameInTable="вид_ремонтаColumn" msprop:Generator_UserColumnName="вид_ремонта" minOccurs="0">
  443. <xs:simpleType>
  444. <xs:restriction base="xs:string">
  445. <xs:maxLength value="50" />
  446. </xs:restriction>
  447. </xs:simpleType>
  448. </xs:element>
  449. <xs:element name="стоимость_ремонта" msprop:Generator_ColumnVarNameInTable="columnстоимость_ремонта" msprop:Generator_ColumnPropNameInRow="стоимость_ремонта" msprop:Generator_ColumnPropNameInTable="стоимость_ремонтаColumn" msprop:Generator_UserColumnName="стоимость_ремонта" minOccurs="0">
  450. <xs:simpleType>
  451. <xs:restriction base="xs:string">
  452. <xs:maxLength value="50" />
  453. </xs:restriction>
  454. </xs:simpleType>
  455. </xs:element>
  456. <xs:element name="дата_исполнения_заказа" msprop:Generator_ColumnVarNameInTable="columnдата_исполнения_заказа" msprop:Generator_ColumnPropNameInRow="дата_исполнения_заказа" msprop:Generator_ColumnPropNameInTable="дата_исполнения_заказаColumn" msprop:Generator_UserColumnName="дата_исполнения_заказа" type="xs:dateTime" minOccurs="0" />
  457. <xs:element name="сообщение_клиенту" msprop:Generator_ColumnVarNameInTable="columnсообщение_клиенту" msprop:Generator_ColumnPropNameInRow="сообщение_клиенту" msprop:Generator_ColumnPropNameInTable="сообщение_клиентуColumn" msprop:Generator_UserColumnName="сообщение_клиенту" type="xs:boolean" minOccurs="0" />
  458. <xs:element name="дата_получения_товара" msprop:Generator_ColumnVarNameInTable="columnдата_получения_товара" msprop:Generator_ColumnPropNameInRow="дата_получения_товара" msprop:Generator_ColumnPropNameInTable="дата_получения_товараColumn" msprop:Generator_UserColumnName="дата_получения_товара" minOccurs="0">
  459. <xs:simpleType>
  460. <xs:restriction base="xs:string">
  461. <xs:maxLength value="10" />
  462. </xs:restriction>
  463. </xs:simpleType>
  464. </xs:element>
  465. <xs:element name="сумма_оплаты_услуг" msprop:Generator_ColumnVarNameInTable="columnсумма_оплаты_услуг" msprop:Generator_ColumnPropNameInRow="сумма_оплаты_услуг" msprop:Generator_ColumnPropNameInTable="сумма_оплаты_услугColumn" msprop:Generator_UserColumnName="сумма_оплаты_услуг" type="xs:decimal" minOccurs="0" />
  466. <xs:element name="id_сотрудника" msprop:Generator_ColumnVarNameInTable="columnid_сотрудника" msprop:Generator_ColumnPropNameInRow="id_сотрудника" msprop:Generator_ColumnPropNameInTable="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" type="xs:int" />
  467. </xs:sequence>
  468. </xs:complexType>
  469. </xs:element>
  470. <xs:element name="сотрудники" msprop:Generator_TableClassName="сотрудникиDataTable" msprop:Generator_TableVarName="tableсотрудники" msprop:Generator_TablePropName="сотрудники" msprop:Generator_RowDeletingName="сотрудникиRowDeleting" msprop:Generator_RowChangingName="сотрудникиRowChanging" msprop:Generator_RowEvHandlerName="сотрудникиRowChangeEventHandler" msprop:Generator_RowDeletedName="сотрудникиRowDeleted" msprop:Generator_UserTableName="сотрудники" msprop:Generator_RowChangedName="сотрудникиRowChanged" msprop:Generator_RowEvArgName="сотрудникиRowChangeEvent" msprop:Generator_RowClassName="сотрудникиRow">
  471. <xs:complexType>
  472. <xs:sequence>
  473. <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="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" type="xs:int" />
  474. <xs:element name="ФИО" msprop:Generator_ColumnVarNameInTable="columnФИО" msprop:Generator_ColumnPropNameInRow="ФИО" msprop:Generator_ColumnPropNameInTable="ФИОColumn" msprop:Generator_UserColumnName="ФИО" minOccurs="0">
  475. <xs:simpleType>
  476. <xs:restriction base="xs:string">
  477. <xs:maxLength value="50" />
  478. </xs:restriction>
  479. </xs:simpleType>
  480. </xs:element>
  481. <xs:element name="должность" msprop:Generator_ColumnVarNameInTable="columnдолжность" msprop:Generator_ColumnPropNameInRow="должность" msprop:Generator_ColumnPropNameInTable="должностьColumn" msprop:Generator_UserColumnName="должность" minOccurs="0">
  482. <xs:simpleType>
  483. <xs:restriction base="xs:string">
  484. <xs:maxLength value="50" />
  485. </xs:restriction>
  486. </xs:simpleType>
  487. </xs:element>
  488. </xs:sequence>
  489. </xs:complexType>
  490. </xs:element>
  491. <xs:element name="сотрудники_исполнение_заказов" msprop:Generator_TableClassName="сотрудники_исполнение_заказовDataTable" msprop:Generator_TableVarName="tableсотрудники_исполнение_заказов" msprop:Generator_TablePropName="сотрудники_исполнение_заказов" msprop:Generator_RowDeletingName="сотрудники_исполнение_заказовRowDeleting" msprop:Generator_RowChangingName="сотрудники_исполнение_заказовRowChanging" msprop:Generator_RowEvHandlerName="сотрудники_исполнение_заказовRowChangeEventHandler" msprop:Generator_RowDeletedName="сотрудники_исполнение_заказовRowDeleted" msprop:Generator_UserTableName="сотрудники_исполнение_заказов" msprop:Generator_RowChangedName="сотрудники_исполнение_заказовRowChanged" msprop:Generator_RowEvArgName="сотрудники_исполнение_заказовRowChangeEvent" msprop:Generator_RowClassName="сотрудники_исполнение_заказовRow">
  492. <xs:complexType>
  493. <xs:sequence>
  494. <xs:element name="id_сотрудника" msprop:Generator_ColumnVarNameInTable="columnid_сотрудника" msprop:Generator_ColumnPropNameInRow="id_сотрудника" msprop:Generator_ColumnPropNameInTable="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" type="xs:int" minOccurs="0" />
  495. <xs:element name="id_заказа" msprop:Generator_ColumnVarNameInTable="columnid_заказа" msprop:Generator_ColumnPropNameInRow="id_заказа" msprop:Generator_ColumnPropNameInTable="id_заказаColumn" msprop:Generator_UserColumnName="id_заказа" type="xs:int" minOccurs="0" />
  496. </xs:sequence>
  497. </xs:complexType>
  498. </xs:element>
  499. <xs:element name="Товары" msprop:Generator_TableClassName="ТоварыDataTable" msprop:Generator_TableVarName="tableТовары" msprop:Generator_TablePropName="Товары" msprop:Generator_RowDeletingName="ТоварыRowDeleting" msprop:Generator_RowChangingName="ТоварыRowChanging" msprop:Generator_RowEvHandlerName="ТоварыRowChangeEventHandler" msprop:Generator_RowDeletedName="ТоварыRowDeleted" msprop:Generator_UserTableName="Товары" msprop:Generator_RowChangedName="ТоварыRowChanged" msprop:Generator_RowEvArgName="ТоварыRowChangeEvent" msprop:Generator_RowClassName="ТоварыRow">
  500. <xs:complexType>
  501. <xs:sequence>
  502. <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="id_товараColumn" msprop:Generator_UserColumnName="id_товара" type="xs:int" />
  503. <xs:element name="наим_товара" msprop:Generator_ColumnVarNameInTable="columnнаим_товара" msprop:Generator_ColumnPropNameInRow="наим_товара" msprop:Generator_ColumnPropNameInTable="наим_товараColumn" msprop:Generator_UserColumnName="наим_товара" minOccurs="0">
  504. <xs:simpleType>
  505. <xs:restriction base="xs:string">
  506. <xs:maxLength value="50" />
  507. </xs:restriction>
  508. </xs:simpleType>
  509. </xs:element>
  510. <xs:element name="фирма" msprop:Generator_ColumnVarNameInTable="columnфирма" msprop:Generator_ColumnPropNameInRow="фирма" msprop:Generator_ColumnPropNameInTable="фирмаColumn" msprop:Generator_UserColumnName="фирма" minOccurs="0">
  511. <xs:simpleType>
  512. <xs:restriction base="xs:string">
  513. <xs:maxLength value="50" />
  514. </xs:restriction>
  515. </xs:simpleType>
  516. </xs:element>
  517. <xs:element name="модель" msprop:Generator_ColumnVarNameInTable="columnмодель" msprop:Generator_ColumnPropNameInRow="модель" msprop:Generator_ColumnPropNameInTable="модельColumn" msprop:Generator_UserColumnName="модель" minOccurs="0">
  518. <xs:simpleType>
  519. <xs:restriction base="xs:string">
  520. <xs:maxLength value="50" />
  521. </xs:restriction>
  522. </xs:simpleType>
  523. </xs:element>
  524. <xs:element name="технические_характеристики" msprop:Generator_ColumnVarNameInTable="columnтехнические_характеристики" msprop:Generator_ColumnPropNameInRow="технические_характеристики" msprop:Generator_ColumnPropNameInTable="технические_характеристикиColumn" msprop:Generator_UserColumnName="технические_характеристики" minOccurs="0">
  525. <xs:simpleType>
  526. <xs:restriction base="xs:string">
  527. <xs:maxLength value="50" />
  528. </xs:restriction>
  529. </xs:simpleType>
  530. </xs:element>
  531. <xs:element name="гарантированный_срок" msprop:Generator_ColumnVarNameInTable="columnгарантированный_срок" msprop:Generator_ColumnPropNameInRow="гарантированный_срок" msprop:Generator_ColumnPropNameInTable="гарантированный_срокColumn" msprop:Generator_UserColumnName="гарантированный_срок" minOccurs="0">
  532. <xs:simpleType>
  533. <xs:restriction base="xs:string">
  534. <xs:maxLength value="50" />
  535. </xs:restriction>
  536. </xs:simpleType>
  537. </xs:element>
  538. <xs:element name="изображение" msprop:Generator_ColumnVarNameInTable="columnизображение" msprop:Generator_ColumnPropNameInRow="изображение" msprop:Generator_ColumnPropNameInTable="изображениеColumn" msprop:Generator_UserColumnName="изображение" type="xs:base64Binary" minOccurs="0" />
  539. </xs:sequence>
  540. </xs:complexType>
  541. </xs:element>
  542. <xs:element name="zakaz" msprop:Generator_TableClassName="zakazDataTable" msprop:Generator_TableVarName="tablezakaz" msprop:Generator_TablePropName="zakaz" msprop:Generator_RowDeletingName="zakazRowDeleting" msprop:Generator_RowChangingName="zakazRowChanging" msprop:Generator_RowEvHandlerName="zakazRowChangeEventHandler" msprop:Generator_RowDeletedName="zakazRowDeleted" msprop:Generator_UserTableName="zakaz" msprop:Generator_RowChangedName="zakazRowChanged" msprop:Generator_RowEvArgName="zakazRowChangeEvent" msprop:Generator_RowClassName="zakazRow">
  543. <xs:complexType>
  544. <xs:sequence>
  545. <xs:element name="id_заказа" msprop:Generator_ColumnVarNameInTable="columnid_заказа" msprop:Generator_ColumnPropNameInRow="id_заказа" msprop:Generator_ColumnPropNameInTable="id_заказаColumn" msprop:Generator_UserColumnName="id_заказа" type="xs:int" />
  546. <xs:element name="гарантия" msprop:Generator_ColumnVarNameInTable="columnгарантия" msprop:Generator_ColumnPropNameInRow="гарантия" msprop:Generator_ColumnPropNameInTable="гарантияColumn" msprop:Generator_UserColumnName="гарантия" type="xs:boolean" minOccurs="0" />
  547. <xs:element name="id_сотрудника" msprop:Generator_ColumnVarNameInTable="columnid_сотрудника" msprop:Generator_ColumnPropNameInRow="id_сотрудника" msprop:Generator_ColumnPropNameInTable="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" type="xs:int" />
  548. </xs:sequence>
  549. </xs:complexType>
  550. </xs:element>
  551. <xs:element name="запрос_2" msprop:Generator_TableClassName="запрос_2DataTable" msprop:Generator_TableVarName="tableзапрос_2" msprop:Generator_TablePropName="запрос_2" msprop:Generator_RowDeletingName="запрос_2RowDeleting" msprop:Generator_RowChangingName="запрос_2RowChanging" msprop:Generator_RowEvHandlerName="запрос_2RowChangeEventHandler" msprop:Generator_RowDeletedName="запрос_2RowDeleted" msprop:Generator_UserTableName="запрос_2" msprop:Generator_RowChangedName="запрос_2RowChanged" msprop:Generator_RowEvArgName="запрос_2RowChangeEvent" msprop:Generator_RowClassName="запрос_2Row">
  552. <xs:complexType>
  553. <xs:sequence>
  554. <xs:element name="id_сотрудника" msprop:Generator_ColumnVarNameInTable="columnid_сотрудника" msprop:Generator_ColumnPropNameInRow="id_сотрудника" msprop:Generator_ColumnPropNameInTable="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" type="xs:int" />
  555. <xs:element name="ФИО" msprop:Generator_ColumnVarNameInTable="columnФИО" msprop:Generator_ColumnPropNameInRow="ФИО" msprop:Generator_ColumnPropNameInTable="ФИОColumn" msprop:Generator_UserColumnName="ФИО" minOccurs="0">
  556. <xs:simpleType>
  557. <xs:restriction base="xs:string">
  558. <xs:maxLength value="50" />
  559. </xs:restriction>
  560. </xs:simpleType>
  561. </xs:element>
  562. <xs:element name="вид_ремонта" msprop:Generator_ColumnVarNameInTable="columnвид_ремонта" msprop:Generator_ColumnPropNameInRow="вид_ремонта" msprop:Generator_ColumnPropNameInTable="вид_ремонтаColumn" msprop:Generator_UserColumnName="вид_ремонта" minOccurs="0">
  563. <xs:simpleType>
  564. <xs:restriction base="xs:string">
  565. <xs:maxLength value="50" />
  566. </xs:restriction>
  567. </xs:simpleType>
  568. </xs:element>
  569. </xs:sequence>
  570. </xs:complexType>
  571. </xs:element>
  572. <xs:element name="запрос_3" msprop:Generator_TableClassName="запрос_3DataTable" msprop:Generator_TableVarName="tableзапрос_3" msprop:Generator_TablePropName="запрос_3" msprop:Generator_RowDeletingName="запрос_3RowDeleting" msprop:Generator_RowChangingName="запрос_3RowChanging" msprop:Generator_RowEvHandlerName="запрос_3RowChangeEventHandler" msprop:Generator_RowDeletedName="запрос_3RowDeleted" msprop:Generator_UserTableName="запрос_3" msprop:Generator_RowChangedName="запрос_3RowChanged" msprop:Generator_RowEvArgName="запрос_3RowChangeEvent" msprop:Generator_RowClassName="запрос_3Row">
  573. <xs:complexType>
  574. <xs:sequence>
  575. <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="id_сотрудникаColumn" msprop:Generator_UserColumnName="id_сотрудника" type="xs:int" />
  576. <xs:element name="ФИО" msprop:Generator_ColumnVarNameInTable="columnФИО" msprop:Generator_ColumnPropNameInRow="ФИО" msprop:Generator_ColumnPropNameInTable="ФИОColumn" msprop:Generator_UserColumnName="ФИО" minOccurs="0">
  577. <xs:simpleType>
  578. <xs:restriction base="xs:string">
  579. <xs:maxLength value="50" />
  580. </xs:restriction>
  581. </xs:simpleType>
  582. </xs:element>
  583. <xs:element name="должность" msprop:Generator_ColumnVarNameInTable="columnдолжность" msprop:Generator_ColumnPropNameInRow="должность" msprop:Generator_ColumnPropNameInTable="должностьColumn" msprop:Generator_UserColumnName="должность" minOccurs="0">
  584. <xs:simpleType>
  585. <xs:restriction base="xs:string">
  586. <xs:maxLength value="50" />
  587. </xs:restriction>
  588. </xs:simpleType>
  589. </xs:element>
  590. </xs:sequence>
  591. </xs:complexType>
  592. </xs:element>
  593. <xs:element name="Представление" msprop:Generator_TableClassName="ПредставлениеDataTable" msprop:Generator_TableVarName="tableПредставление" msprop:Generator_TablePropName="Представление" msprop:Generator_RowDeletingName="ПредставлениеRowDeleting" msprop:Generator_RowChangingName="ПредставлениеRowChanging" msprop:Generator_RowEvHandlerName="ПредставлениеRowChangeEventHandler" msprop:Generator_RowDeletedName="ПредставлениеRowDeleted" msprop:Generator_UserTableName="Представление" msprop:Generator_RowChangedName="ПредставлениеRowChanged" msprop:Generator_RowEvArgName="ПредставлениеRowChangeEvent" msprop:Generator_RowClassName="ПредставлениеRow">
  594. <xs:complexType>
  595. <xs:sequence>
  596. <xs:element name="наим_товара" msprop:Generator_ColumnVarNameInTable="columnнаим_товара" msprop:Generator_ColumnPropNameInRow="наим_товара" msprop:Generator_ColumnPropNameInTable="наим_товараColumn" msprop:Generator_UserColumnName="наим_товара" minOccurs="0">
  597. <xs:simpleType>
  598. <xs:restriction base="xs:string">
  599. <xs:maxLength value="50" />
  600. </xs:restriction>
  601. </xs:simpleType>
  602. </xs:element>
  603. <xs:element name="ФИО" msprop:Generator_ColumnVarNameInTable="columnФИО" msprop:Generator_ColumnPropNameInRow="ФИО" msprop:Generator_ColumnPropNameInTable="ФИОColumn" msprop:Generator_UserColumnName="ФИО" minOccurs="0">
  604. <xs:simpleType>
  605. <xs:restriction base="xs:string">
  606. <xs:maxLength value="50" />
  607. </xs:restriction>
  608. </xs:simpleType>
  609. </xs:element>
  610. <xs:element name="должность" msprop:Generator_ColumnVarNameInTable="columnдолжность" msprop:Generator_ColumnPropNameInRow="должность" msprop:Generator_ColumnPropNameInTable="должностьColumn" msprop:Generator_UserColumnName="должность" minOccurs="0">
  611. <xs:simpleType>
  612. <xs:restriction base="xs:string">
  613. <xs:maxLength value="50" />
  614. </xs:restriction>
  615. </xs:simpleType>
  616. </xs:element>
  617. <xs:element name="вид_ремонта" msprop:Generator_ColumnVarNameInTable="columnвид_ремонта" msprop:Generator_ColumnPropNameInRow="вид_ремонта" msprop:Generator_ColumnPropNameInTable="вид_ремонтаColumn" msprop:Generator_UserColumnName="вид_ремонта" minOccurs="0">
  618. <xs:simpleType>
  619. <xs:restriction base="xs:string">
  620. <xs:maxLength value="50" />
  621. </xs:restriction>
  622. </xs:simpleType>
  623. </xs:element>
  624. <xs:element name="дата_исполнения_заказа" msprop:Generator_ColumnVarNameInTable="columnдата_исполнения_заказа" msprop:Generator_ColumnPropNameInRow="дата_исполнения_заказа" msprop:Generator_ColumnPropNameInTable="дата_исполнения_заказаColumn" msprop:Generator_UserColumnName="дата_исполнения_заказа" type="xs:dateTime" minOccurs="0" />
  625. </xs:sequence>
  626. </xs:complexType>
  627. </xs:element>
  628. </xs:choice>
  629. </xs:complexType>
  630. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  631. <xs:selector xpath=".//mstns:заказ" />
  632. <xs:field xpath="mstns:id_заказа" />
  633. </xs:unique>
  634. <xs:unique name="исполнение_заказов_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  635. <xs:selector xpath=".//mstns:исполнение_заказов" />
  636. <xs:field xpath="mstns:id_заказа" />
  637. </xs:unique>
  638. <xs:unique name="сотрудники_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  639. <xs:selector xpath=".//mstns:сотрудники" />
  640. <xs:field xpath="mstns:id_сотрудника" />
  641. </xs:unique>
  642. <xs:unique name="Товары_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  643. <xs:selector xpath=".//mstns:Товары" />
  644. <xs:field xpath="mstns:id_товара" />
  645. </xs:unique>
  646. <xs:unique name="zakaz_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  647. <xs:selector xpath=".//mstns:zakaz" />
  648. <xs:field xpath="mstns:id_заказа" />
  649. <xs:field xpath="mstns:id_сотрудника" />
  650. </xs:unique>
  651. <xs:unique name="запрос_2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  652. <xs:selector xpath=".//mstns:запрос_2" />
  653. <xs:field xpath="mstns:id_сотрудника" />
  654. </xs:unique>
  655. <xs:unique name="запрос_3_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  656. <xs:selector xpath=".//mstns:запрос_3" />
  657. <xs:field xpath="mstns:id_сотрудника" />
  658. </xs:unique>
  659. </xs:element>
  660. <xs:annotation>
  661. <xs:appinfo>
  662. <msdata:Relationship name="FK_заказ_Товары" msdata:parent="Товары" msdata:child="заказ" msdata:parentkey="id_товара" msdata:childkey="id_товара" msprop:Generator_UserChildTable="заказ" msprop:Generator_ChildPropName="GetзаказRows" msprop:Generator_UserRelationName="FK_заказ_Товары" msprop:Generator_RelationVarName="relationFK_заказ_Товары" msprop:Generator_UserParentTable="Товары" msprop:Generator_ParentPropName="ТоварыRow" />
  663. <msdata:Relationship name="FK_исполнение_заказов_заказ" msdata:parent="заказ" msdata:child="исполнение_заказов" msdata:parentkey="id_заказа" msdata:childkey="id_заказа" msprop:Generator_UserChildTable="исполнение_заказов" msprop:Generator_ChildPropName="Getисполнение_заказовRows" msprop:Generator_UserRelationName="FK_исполнение_заказов_заказ" msprop:Generator_ParentPropName="заказRow" msprop:Generator_RelationVarName="relationFK_исполнение_заказов_заказ" msprop:Generator_UserParentTable="заказ" />
  664. <msdata:Relationship name="FK_сотрудники_исполнение_заказов_исполнение_заказов" msdata:parent="исполнение_заказов" msdata:child="сотрудники_исполнение_заказов" msdata:parentkey="id_заказа" msdata:childkey="id_заказа" msprop:Generator_UserChildTable="сотрудники_исполнение_заказов" msprop:Generator_ChildPropName="Getсотрудники_исполнение_заказовRows" msprop:Generator_UserRelationName="FK_сотрудники_исполнение_заказов_исполнение_заказов" msprop:Generator_ParentPropName="исполнение_заказовRow" msprop:Generator_RelationVarName="relationFK_сотрудники_исполнение_заказов_исполнение_заказов" msprop:Generator_UserParentTable="исполнение_заказов" />
  665. <msdata:Relationship name="FK_сотрудники_исполнение_заказов_сотрудники" msdata:parent="сотрудники" msdata:child="сотрудники_исполнение_заказов" msdata:parentkey="id_сотрудника" msdata:childkey="id_сотрудника" msprop:Generator_UserChildTable="сотрудники_исполнение_заказов" msprop:Generator_ChildPropName="Getсотрудники_исполнение_заказовRows" msprop:Generator_UserRelationName="FK_сотрудники_исполнение_заказов_сотрудники" msprop:Generator_ParentPropName="сотрудникиRow" msprop:Generator_RelationVarName="relationFK_сотрудники_исполнение_заказов_сотрудники" msprop:Generator_UserParentTable="сотрудники" />
  666. </xs:appinfo>
  667. </xs:annotation>
  668. </xs:schema>