IS32Tarasov15DataSet.xsd 95 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="IS32Tarasov15DataSet" targetNamespace="http://tempuri.org/IS32Tarasov15DataSet.xsd" xmlns:mstns="http://tempuri.org/IS32Tarasov15DataSet.xsd" xmlns="http://tempuri.org/IS32Tarasov15DataSet.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="IS32Tarasov15ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="IS32Tarasov15ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WindowsFormsApp8.Properties.Settings.GlobalReference.Default.IS32Tarasov15ConnectionString" 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="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.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. <InsertCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>INSERT INTO [dbo].[Доставки] ([ID заказа], [Дата доставки], [Время доставки], [Адрес доставки], [Ф.И.О.клиента], [Ф.И.О.курьера]) VALUES (@ID_заказа, @Дата_доставки, @Время_доставки, @Адрес_доставки, @p1, @p4)</CommandText>
  16. <Parameters>
  17. <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" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_доставки" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Время_доставки" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="Время доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Адрес_доставки" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Адрес доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О.клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О.курьера" SourceColumnNullMapping="false" SourceVersion="Current" />
  23. </Parameters>
  24. </DbCommand>
  25. </InsertCommand>
  26. <SelectCommand>
  27. <DbCommand CommandType="Text" ModifiedByUser="false">
  28. <CommandText>SELECT [ID заказа], [Дата доставки], [Время доставки], [Адрес доставки], [Ф.И.О.клиента], [Ф.И.О.курьера] FROM dbo.Доставки</CommandText>
  29. <Parameters />
  30. </DbCommand>
  31. </SelectCommand>
  32. </DbSource>
  33. </MainSource>
  34. <Mappings>
  35. <Mapping SourceColumn="ID заказа" DataSetColumn="ID заказа" />
  36. <Mapping SourceColumn="Дата доставки" DataSetColumn="Дата доставки" />
  37. <Mapping SourceColumn="Время доставки" DataSetColumn="Время доставки" />
  38. <Mapping SourceColumn="Адрес доставки" DataSetColumn="Адрес доставки" />
  39. <Mapping SourceColumn="Ф.И.О.клиента" DataSetColumn="Ф_И_О_клиента" />
  40. <Mapping SourceColumn="Ф.И.О.курьера" DataSetColumn="Ф_И_О_курьера" />
  41. </Mappings>
  42. <Sources />
  43. </TableAdapter>
  44. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ЗаказыTableAdapter" GeneratorDataComponentClassName="ЗаказыTableAdapter" Name="Заказы" UserDataComponentName="ЗаказыTableAdapter">
  45. <MainSource>
  46. <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.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">
  47. <DeleteCommand>
  48. <DbCommand CommandType="Text" ModifiedByUser="false">
  49. <CommandText>DELETE FROM [dbo].[Заказы] WHERE (([ID заказа] = @Original_ID_заказа) AND ((@IsNull_ID_магазина = 1 AND [ID магазина] IS NULL) OR ([ID магазина] = @Original_ID_магазина)) 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 ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ((@p3 = 1 AND [Ф.И.О. клиента] IS NULL) OR ([Ф.И.О. клиента] = @p2)) AND ((@IsNull_Контактный_телефон = 1 AND [Контактный телефон] IS NULL) OR ([Контактный телефон] = @Original_Контактный_телефон)) AND ((@IsNull_Подтверждение_заказа = 1 AND [Подтверждение заказа] IS NULL) OR ([Подтверждение заказа] = @Original_Подтверждение_заказа)))</CommandText>
  50. <Parameters>
  51. <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" />
  52. <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" />
  53. <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" />
  54. <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" />
  55. <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" />
  56. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  57. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  58. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Время_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Время заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  59. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_Время_заказа" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="Время заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  60. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  61. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  62. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
  63. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="false" SourceVersion="Original" />
  64. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Контактный_телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Контактный телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
  65. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Контактный_телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Контактный телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
  66. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Подтверждение_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Подтверждение заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  67. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Подтверждение_заказа" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Подтверждение заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  68. </Parameters>
  69. </DbCommand>
  70. </DeleteCommand>
  71. <InsertCommand>
  72. <DbCommand CommandType="Text" ModifiedByUser="false">
  73. <CommandText>INSERT INTO [dbo].[Заказы] ([ID магазина], [ID товара], [Дата заказа], [Время заказа], [Количество], [Ф.И.О. клиента], [Контактный телефон], [Подтверждение заказа]) VALUES (@ID_магазина, @ID_товара, @Дата_заказа, @Время_заказа, @Количество, @p1, @Контактный_телефон, @Подтверждение_заказа);
  74. SELECT [ID заказа], [ID магазина], [ID товара], [Дата заказа], [Время заказа], Количество, [Ф.И.О. клиента], [Контактный телефон], [Подтверждение заказа] FROM Заказы WHERE ([ID заказа] = SCOPE_IDENTITY())</CommandText>
  75. <Parameters>
  76. <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" />
  77. <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" />
  78. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  79. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Время_заказа" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="Время заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  80. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  81. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
  82. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Контактный_телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Контактный телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
  83. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Подтверждение_заказа" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Подтверждение заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  84. </Parameters>
  85. </DbCommand>
  86. </InsertCommand>
  87. <SelectCommand>
  88. <DbCommand CommandType="Text" ModifiedByUser="false">
  89. <CommandText>SELECT [ID заказа], [ID магазина], [ID товара], [Дата заказа], [Время заказа], Количество, [Ф.И.О. клиента], [Контактный телефон], [Подтверждение заказа] FROM dbo.Заказы</CommandText>
  90. <Parameters />
  91. </DbCommand>
  92. </SelectCommand>
  93. <UpdateCommand>
  94. <DbCommand CommandType="Text" ModifiedByUser="false">
  95. <CommandText>UPDATE [dbo].[Заказы] SET [ID магазина] = @ID_магазина, [ID товара] = @ID_товара, [Дата заказа] = @Дата_заказа, [Время заказа] = @Время_заказа, [Количество] = @Количество, [Ф.И.О. клиента] = @p1, [Контактный телефон] = @Контактный_телефон, [Подтверждение заказа] = @Подтверждение_заказа WHERE (([ID заказа] = @Original_ID_заказа) AND ((@IsNull_ID_магазина = 1 AND [ID магазина] IS NULL) OR ([ID магазина] = @Original_ID_магазина)) 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 ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)) AND ((@p3 = 1 AND [Ф.И.О. клиента] IS NULL) OR ([Ф.И.О. клиента] = @p2)) AND ((@IsNull_Контактный_телефон = 1 AND [Контактный телефон] IS NULL) OR ([Контактный телефон] = @Original_Контактный_телефон)) AND ((@IsNull_Подтверждение_заказа = 1 AND [Подтверждение заказа] IS NULL) OR ([Подтверждение заказа] = @Original_Подтверждение_заказа)));
  96. SELECT [ID заказа], [ID магазина], [ID товара], [Дата заказа], [Время заказа], Количество, [Ф.И.О. клиента], [Контактный телефон], [Подтверждение заказа] FROM Заказы WHERE ([ID заказа] = @ID_заказа)</CommandText>
  97. <Parameters>
  98. <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" />
  99. <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" />
  100. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  101. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Время_заказа" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="Время заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  102. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  103. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="false" SourceVersion="Current" />
  104. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Контактный_телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Контактный телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
  105. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Подтверждение_заказа" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Подтверждение заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  106. <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" />
  107. <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" />
  108. <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" />
  109. <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" />
  110. <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" />
  111. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  112. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_заказа" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  113. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Время_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Время заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  114. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_Время_заказа" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="Время заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  115. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  116. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  117. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ф.И.О. клиента" SourceColumnNullMapping="true" SourceVersion="Original" />
  118. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="VarChar" 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="AnsiString" Direction="Input" ParameterName="@Original_Контактный_телефон" Precision="0" ProviderType="VarChar" 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="Boolean" Direction="Input" ParameterName="@Original_Подтверждение_заказа" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Подтверждение заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  123. <Parameter AllowDbNull="false" AutogeneratedName="ID_заказа" ColumnName="ID заказа" DataSourceName="IS32Tarasov15.dbo.Заказы" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_заказа" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  124. </Parameters>
  125. </DbCommand>
  126. </UpdateCommand>
  127. </DbSource>
  128. </MainSource>
  129. <Mappings>
  130. <Mapping SourceColumn="ID заказа" DataSetColumn="ID заказа" />
  131. <Mapping SourceColumn="ID магазина" DataSetColumn="ID магазина" />
  132. <Mapping SourceColumn="ID товара" DataSetColumn="ID товара" />
  133. <Mapping SourceColumn="Дата заказа" DataSetColumn="Дата заказа" />
  134. <Mapping SourceColumn="Время заказа" DataSetColumn="Время заказа" />
  135. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  136. <Mapping SourceColumn="Ф.И.О. клиента" DataSetColumn="Ф_И_О_ клиента" />
  137. <Mapping SourceColumn="Контактный телефон" DataSetColumn="Контактный телефон" />
  138. <Mapping SourceColumn="Подтверждение заказа" DataSetColumn="Подтверждение заказа" />
  139. </Mappings>
  140. <Sources />
  141. </TableAdapter>
  142. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Интерент-магазиныTableAdapter" GeneratorDataComponentClassName="Интерент_магазиныTableAdapter" Name="Интерент-магазины" UserDataComponentName="Интерент-магазиныTableAdapter">
  143. <MainSource>
  144. <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.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">
  145. <DeleteCommand>
  146. <DbCommand CommandType="Text" ModifiedByUser="false">
  147. <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>
  148. <Parameters>
  149. <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" />
  150. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Электронный_адрес" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Электронный адрес" SourceColumnNullMapping="true" SourceVersion="Original" />
  151. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Электронный_адрес" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Электронный адрес" SourceColumnNullMapping="false" SourceVersion="Original" />
  152. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Оплата_доставки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="true" SourceVersion="Original" />
  153. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Оплата_доставки" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="false" SourceVersion="Original" />
  154. </Parameters>
  155. </DbCommand>
  156. </DeleteCommand>
  157. <InsertCommand>
  158. <DbCommand CommandType="Text" ModifiedByUser="false">
  159. <CommandText>INSERT INTO [dbo].[Интерент-магазины] ([Электронный адрес], [Оплата доставки]) VALUES (@Электронный_адрес, @Оплата_доставки);
  160. SELECT [ID Магазина], [Электронный адрес], [Оплата доставки] FROM [Интерент-магазины] WHERE ([ID Магазина] = SCOPE_IDENTITY())</CommandText>
  161. <Parameters>
  162. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Электронный_адрес" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Электронный адрес" SourceColumnNullMapping="false" SourceVersion="Current" />
  163. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Оплата_доставки" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
  164. </Parameters>
  165. </DbCommand>
  166. </InsertCommand>
  167. <SelectCommand>
  168. <DbCommand CommandType="Text" ModifiedByUser="false">
  169. <CommandText>SELECT [ID Магазина], [Электронный адрес], [Оплата доставки] FROM dbo.[Интерент-магазины]</CommandText>
  170. <Parameters />
  171. </DbCommand>
  172. </SelectCommand>
  173. <UpdateCommand>
  174. <DbCommand CommandType="Text" ModifiedByUser="false">
  175. <CommandText>UPDATE [dbo].[Интерент-магазины] SET [Электронный адрес] = @Электронный_адрес, [Оплата доставки] = @Оплата_доставки WHERE (([ID Магазина] = @Original_ID_Магазина) AND ((@IsNull_Электронный_адрес = 1 AND [Электронный адрес] IS NULL) OR ([Электронный адрес] = @Original_Электронный_адрес)) AND ((@IsNull_Оплата_доставки = 1 AND [Оплата доставки] IS NULL) OR ([Оплата доставки] = @Original_Оплата_доставки)));
  176. SELECT [ID Магазина], [Электронный адрес], [Оплата доставки] FROM [Интерент-магазины] WHERE ([ID Магазина] = @ID_Магазина)</CommandText>
  177. <Parameters>
  178. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Электронный_адрес" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Электронный адрес" SourceColumnNullMapping="false" SourceVersion="Current" />
  179. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Оплата_доставки" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="false" SourceVersion="Current" />
  180. <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" />
  181. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Электронный_адрес" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Электронный адрес" SourceColumnNullMapping="true" SourceVersion="Original" />
  182. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Электронный_адрес" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Электронный адрес" SourceColumnNullMapping="false" SourceVersion="Original" />
  183. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Оплата_доставки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="true" SourceVersion="Original" />
  184. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Оплата_доставки" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Оплата доставки" SourceColumnNullMapping="false" SourceVersion="Original" />
  185. <Parameter AllowDbNull="false" AutogeneratedName="ID_Магазина" ColumnName="ID Магазина" DataSourceName="IS32Tarasov15.dbo.[Интерент-магазины]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_Магазина" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID Магазина" SourceColumnNullMapping="false" SourceVersion="Current" />
  186. </Parameters>
  187. </DbCommand>
  188. </UpdateCommand>
  189. </DbSource>
  190. </MainSource>
  191. <Mappings>
  192. <Mapping SourceColumn="ID Магазина" DataSetColumn="ID Магазина" />
  193. <Mapping SourceColumn="Электронный адрес" DataSetColumn="Электронный адрес" />
  194. <Mapping SourceColumn="Оплата доставки" DataSetColumn="Оплата доставки" />
  195. </Mappings>
  196. <Sources />
  197. </TableAdapter>
  198. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ТоварыTableAdapter" GeneratorDataComponentClassName="ТоварыTableAdapter" Name="Товары" UserDataComponentName="ТоварыTableAdapter">
  199. <MainSource>
  200. <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.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">
  201. <DeleteCommand>
  202. <DbCommand CommandType="Text" ModifiedByUser="false">
  203. <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 ((@IsNull_Изображение = 1 AND [Изображение] IS NULL) OR ([Изображение] = @Original_Изображение)))</CommandText>
  204. <Parameters>
  205. <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" />
  206. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  207. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Название_товара" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Название товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  208. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="true" SourceVersion="Original" />
  209. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Фирма" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Original" />
  210. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Модель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Модель" SourceColumnNullMapping="true" SourceVersion="Original" />
  211. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Модель" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Модель" SourceColumnNullMapping="false" SourceVersion="Original" />
  212. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Технические_характеристики" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Технические характеристики" SourceColumnNullMapping="true" SourceVersion="Original" />
  213. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Технические_характеристики" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Технические характеристики" SourceColumnNullMapping="false" SourceVersion="Original" />
  214. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  215. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  216. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Гарантийный_срок" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Гарантийный срок" SourceColumnNullMapping="true" SourceVersion="Original" />
  217. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Гарантийный_срок" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Гарантийный срок" SourceColumnNullMapping="false" SourceVersion="Original" />
  218. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
  219. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
  220. </Parameters>
  221. </DbCommand>
  222. </DeleteCommand>
  223. <InsertCommand>
  224. <DbCommand CommandType="Text" ModifiedByUser="false">
  225. <CommandText>INSERT INTO [dbo].[Товары] ([Название товара], [Фирма], [Модель], [Технические характеристики], [Цена], [Гарантийный срок], [Изображение]) VALUES (@Название_товара, @Фирма, @Модель, @Технические_характеристики, @Цена, @Гарантийный_срок, @Изображение);
  226. SELECT [ID товара], [Название товара], Фирма, Модель, [Технические характеристики], Цена, [Гарантийный срок], Изображение FROM Товары WHERE ([ID товара] = SCOPE_IDENTITY())</CommandText>
  227. <Parameters>
  228. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название_товара" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Название товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  229. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фирма" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Current" />
  230. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Модель" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Модель" SourceColumnNullMapping="false" SourceVersion="Current" />
  231. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Технические_характеристики" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Технические характеристики" SourceColumnNullMapping="false" SourceVersion="Current" />
  232. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  233. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Гарантийный_срок" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Гарантийный срок" SourceColumnNullMapping="false" SourceVersion="Current" />
  234. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  235. </Parameters>
  236. </DbCommand>
  237. </InsertCommand>
  238. <SelectCommand>
  239. <DbCommand CommandType="Text" ModifiedByUser="false">
  240. <CommandText>SELECT [ID товара], [Название товара], Фирма, Модель, [Технические характеристики], Цена, [Гарантийный срок], Изображение FROM dbo.Товары</CommandText>
  241. <Parameters />
  242. </DbCommand>
  243. </SelectCommand>
  244. <UpdateCommand>
  245. <DbCommand CommandType="Text" ModifiedByUser="false">
  246. <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_Цена)) AND ((@IsNull_Гарантийный_срок = 1 AND [Гарантийный срок] IS NULL) OR ([Гарантийный срок] = @Original_Гарантийный_срок)) AND ((@IsNull_Изображение = 1 AND [Изображение] IS NULL) OR ([Изображение] = @Original_Изображение)));
  247. SELECT [ID товара], [Название товара], Фирма, Модель, [Технические характеристики], Цена, [Гарантийный срок], Изображение FROM Товары WHERE ([ID товара] = @ID_товара)</CommandText>
  248. <Parameters>
  249. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Название_товара" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Название товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  250. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фирма" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Current" />
  251. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Модель" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Модель" SourceColumnNullMapping="false" SourceVersion="Current" />
  252. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Технические_характеристики" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Технические характеристики" SourceColumnNullMapping="false" SourceVersion="Current" />
  253. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  254. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Гарантийный_срок" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Гарантийный срок" SourceColumnNullMapping="false" SourceVersion="Current" />
  255. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  256. <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" />
  257. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название товара" SourceColumnNullMapping="true" SourceVersion="Original" />
  258. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Название_товара" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Название товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  259. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Фирма" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="true" SourceVersion="Original" />
  260. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Фирма" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фирма" SourceColumnNullMapping="false" SourceVersion="Original" />
  261. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Модель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Модель" SourceColumnNullMapping="true" SourceVersion="Original" />
  262. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Модель" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Модель" SourceColumnNullMapping="false" SourceVersion="Original" />
  263. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Технические_характеристики" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Технические характеристики" SourceColumnNullMapping="true" SourceVersion="Original" />
  264. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Технические_характеристики" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Технические характеристики" SourceColumnNullMapping="false" SourceVersion="Original" />
  265. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  266. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  267. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Гарантийный_срок" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Гарантийный срок" SourceColumnNullMapping="true" SourceVersion="Original" />
  268. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Гарантийный_срок" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Гарантийный срок" SourceColumnNullMapping="false" SourceVersion="Original" />
  269. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
  270. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
  271. <Parameter AllowDbNull="false" AutogeneratedName="ID_товара" ColumnName="ID товара" DataSourceName="IS32Tarasov15.dbo.Товары" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_товара" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  272. </Parameters>
  273. </DbCommand>
  274. </UpdateCommand>
  275. </DbSource>
  276. </MainSource>
  277. <Mappings>
  278. <Mapping SourceColumn="ID товара" DataSetColumn="ID товара" />
  279. <Mapping SourceColumn="Название товара" DataSetColumn="Название товара" />
  280. <Mapping SourceColumn="Фирма" DataSetColumn="Фирма" />
  281. <Mapping SourceColumn="Модель" DataSetColumn="Модель" />
  282. <Mapping SourceColumn="Технические характеристики" DataSetColumn="Технические характеристики" />
  283. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  284. <Mapping SourceColumn="Гарантийный срок" DataSetColumn="Гарантийный срок" />
  285. <Mapping SourceColumn="Изображение" DataSetColumn="Изображение" />
  286. </Mappings>
  287. <Sources />
  288. </TableAdapter>
  289. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Принятые заказыTableAdapter" GeneratorDataComponentClassName="Принятые_заказыTableAdapter" Name="Принятые заказы" UserDataComponentName="Принятые заказыTableAdapter">
  290. <MainSource>
  291. <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.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">
  292. <SelectCommand>
  293. <DbCommand CommandType="Text" ModifiedByUser="false">
  294. <CommandText>SELECT [Подтверждение заказа], [Дата заказа], [Дата доставки], [Время заказа], [Время доставки], [Адрес доставки], [Ф.И.О.клиента], [Контактный телефон], [Ф.И.О.курьера], [Оплата доставки] FROM dbo.[Принятые заказы]</CommandText>
  295. <Parameters />
  296. </DbCommand>
  297. </SelectCommand>
  298. </DbSource>
  299. </MainSource>
  300. <Mappings>
  301. <Mapping SourceColumn="Подтверждение заказа" DataSetColumn="Подтверждение заказа" />
  302. <Mapping SourceColumn="Дата заказа" DataSetColumn="Дата заказа" />
  303. <Mapping SourceColumn="Дата доставки" DataSetColumn="Дата доставки" />
  304. <Mapping SourceColumn="Время заказа" DataSetColumn="Время заказа" />
  305. <Mapping SourceColumn="Время доставки" DataSetColumn="Время доставки" />
  306. <Mapping SourceColumn="Адрес доставки" DataSetColumn="Адрес доставки" />
  307. <Mapping SourceColumn="Ф.И.О.клиента" DataSetColumn="Ф_И_О_клиента" />
  308. <Mapping SourceColumn="Контактный телефон" DataSetColumn="Контактный телефон" />
  309. <Mapping SourceColumn="Ф.И.О.курьера" DataSetColumn="Ф_И_О_курьера" />
  310. <Mapping SourceColumn="Оплата доставки" DataSetColumn="Оплата доставки" />
  311. </Mappings>
  312. <Sources />
  313. </TableAdapter>
  314. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Цена товараTableAdapter" GeneratorDataComponentClassName="Цена_товараTableAdapter" Name="Цена товара" UserDataComponentName="Цена товараTableAdapter">
  315. <MainSource>
  316. <DbSource ConnectionRef="IS32Tarasov15ConnectionString (Settings)" DbObjectName="IS32Tarasov15.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">
  317. <SelectCommand>
  318. <DbCommand CommandType="Text" ModifiedByUser="false">
  319. <CommandText>SELECT [Название товара], Фирма, Модель, [Технические характеристики], Цена, [Гарантийный срок], Количество, [Ф.И.О. клиента], [Контактный телефон], [Дата заказа] FROM dbo.[Цена товара]</CommandText>
  320. <Parameters />
  321. </DbCommand>
  322. </SelectCommand>
  323. </DbSource>
  324. </MainSource>
  325. <Mappings>
  326. <Mapping SourceColumn="Название товара" DataSetColumn="Название товара" />
  327. <Mapping SourceColumn="Фирма" DataSetColumn="Фирма" />
  328. <Mapping SourceColumn="Модель" DataSetColumn="Модель" />
  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. <Mapping SourceColumn="Дата заказа" DataSetColumn="Дата заказа" />
  336. </Mappings>
  337. <Sources />
  338. </TableAdapter>
  339. </Tables>
  340. <Sources />
  341. </DataSource>
  342. </xs:appinfo>
  343. </xs:annotation>
  344. <xs:element name="IS32Tarasov15DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="IS32Tarasov15DataSet" msprop:Generator_UserDSName="IS32Tarasov15DataSet">
  345. <xs:complexType>
  346. <xs:choice minOccurs="0" maxOccurs="unbounded">
  347. <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">
  348. <xs:complexType>
  349. <xs:sequence>
  350. <xs:element name="ID_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnID_заказа" msprop:Generator_ColumnPropNameInRow="ID_заказа" msprop:Generator_ColumnPropNameInTable="ID_заказаColumn" msprop:Generator_UserColumnName="ID заказа" type="xs:int" />
  351. <xs:element name="Дата_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnДата_доставки" msprop:Generator_ColumnPropNameInRow="Дата_доставки" msprop:Generator_ColumnPropNameInTable="Дата_доставкиColumn" msprop:Generator_UserColumnName="Дата доставки" type="xs:dateTime" minOccurs="0" />
  352. <xs:element name="Время_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnВремя_доставки" msprop:Generator_ColumnPropNameInRow="Время_доставки" msprop:Generator_ColumnPropNameInTable="Время_доставкиColumn" msprop:Generator_UserColumnName="Время доставки" type="xs:duration" minOccurs="0" />
  353. <xs:element name="Адрес_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnАдрес_доставки" msprop:Generator_ColumnPropNameInRow="Адрес_доставки" msprop:Generator_ColumnPropNameInTable="Адрес_доставкиColumn" msprop:Generator_UserColumnName="Адрес доставки" minOccurs="0">
  354. <xs:simpleType>
  355. <xs:restriction base="xs:string">
  356. <xs:maxLength value="50" />
  357. </xs:restriction>
  358. </xs:simpleType>
  359. </xs:element>
  360. <xs:element name="Ф_И_О_клиента" msprop:Generator_ColumnVarNameInTable="columnФ_И_О_клиента" msprop:Generator_ColumnPropNameInRow="Ф_И_О_клиента" msprop:Generator_ColumnPropNameInTable="Ф_И_О_клиентаColumn" msprop:Generator_UserColumnName="Ф_И_О_клиента" minOccurs="0">
  361. <xs:simpleType>
  362. <xs:restriction base="xs:string">
  363. <xs:maxLength value="50" />
  364. </xs:restriction>
  365. </xs:simpleType>
  366. </xs:element>
  367. <xs:element name="Ф_И_О_курьера" msprop:Generator_ColumnVarNameInTable="columnФ_И_О_курьера" msprop:Generator_ColumnPropNameInRow="Ф_И_О_курьера" msprop:Generator_ColumnPropNameInTable="Ф_И_О_курьераColumn" msprop:Generator_UserColumnName="Ф_И_О_курьера" minOccurs="0">
  368. <xs:simpleType>
  369. <xs:restriction base="xs:string">
  370. <xs:maxLength value="50" />
  371. </xs:restriction>
  372. </xs:simpleType>
  373. </xs:element>
  374. </xs:sequence>
  375. </xs:complexType>
  376. </xs:element>
  377. <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">
  378. <xs:complexType>
  379. <xs:sequence>
  380. <xs:element name="ID_x0020_заказа" 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" />
  381. <xs:element name="ID_x0020_магазина" msprop:Generator_ColumnVarNameInTable="columnID_магазина" msprop:Generator_ColumnPropNameInRow="ID_магазина" msprop:Generator_ColumnPropNameInTable="ID_магазинаColumn" msprop:Generator_UserColumnName="ID магазина" type="xs:int" minOccurs="0" />
  382. <xs:element name="ID_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnID_товара" msprop:Generator_ColumnPropNameInRow="ID_товара" msprop:Generator_ColumnPropNameInTable="ID_товараColumn" msprop:Generator_UserColumnName="ID товара" type="xs:int" minOccurs="0" />
  383. <xs:element name="Дата_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnДата_заказа" msprop:Generator_ColumnPropNameInRow="Дата_заказа" msprop:Generator_ColumnPropNameInTable="Дата_заказаColumn" msprop:Generator_UserColumnName="Дата заказа" type="xs:dateTime" minOccurs="0" />
  384. <xs:element name="Время_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnВремя_заказа" msprop:Generator_ColumnPropNameInRow="Время_заказа" msprop:Generator_ColumnPropNameInTable="Время_заказаColumn" msprop:Generator_UserColumnName="Время заказа" type="xs:duration" minOccurs="0" />
  385. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" minOccurs="0">
  386. <xs:simpleType>
  387. <xs:restriction base="xs:string">
  388. <xs:maxLength value="50" />
  389. </xs:restriction>
  390. </xs:simpleType>
  391. </xs:element>
  392. <xs:element name="Ф_И_О__x0020_клиента" msprop:Generator_ColumnVarNameInTable="columnФ_И_О__клиента" msprop:Generator_ColumnPropNameInRow="Ф_И_О__клиента" msprop:Generator_ColumnPropNameInTable="Ф_И_О__клиентаColumn" msprop:Generator_UserColumnName="Ф_И_О_ клиента" minOccurs="0">
  393. <xs:simpleType>
  394. <xs:restriction base="xs:string">
  395. <xs:maxLength value="100" />
  396. </xs:restriction>
  397. </xs:simpleType>
  398. </xs:element>
  399. <xs:element name="Контактный_x0020_телефон" msprop:Generator_ColumnVarNameInTable="columnКонтактный_телефон" msprop:Generator_ColumnPropNameInRow="Контактный_телефон" msprop:Generator_ColumnPropNameInTable="Контактный_телефонColumn" msprop:Generator_UserColumnName="Контактный телефон" minOccurs="0">
  400. <xs:simpleType>
  401. <xs:restriction base="xs:string">
  402. <xs:maxLength value="50" />
  403. </xs:restriction>
  404. </xs:simpleType>
  405. </xs:element>
  406. <xs:element name="Подтверждение_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnПодтверждение_заказа" msprop:Generator_ColumnPropNameInRow="Подтверждение_заказа" msprop:Generator_ColumnPropNameInTable="Подтверждение_заказаColumn" msprop:Generator_UserColumnName="Подтверждение заказа" type="xs:boolean" minOccurs="0" />
  407. </xs:sequence>
  408. </xs:complexType>
  409. </xs:element>
  410. <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">
  411. <xs:complexType>
  412. <xs:sequence>
  413. <xs:element name="ID_x0020_Магазина" 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" />
  414. <xs:element name="Электронный_x0020_адрес" msprop:Generator_ColumnVarNameInTable="columnЭлектронный_адрес" msprop:Generator_ColumnPropNameInRow="Электронный_адрес" msprop:Generator_ColumnPropNameInTable="Электронный_адресColumn" msprop:Generator_UserColumnName="Электронный адрес" minOccurs="0">
  415. <xs:simpleType>
  416. <xs:restriction base="xs:string">
  417. <xs:maxLength value="50" />
  418. </xs:restriction>
  419. </xs:simpleType>
  420. </xs:element>
  421. <xs:element name="Оплата_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnОплата_доставки" msprop:Generator_ColumnPropNameInRow="Оплата_доставки" msprop:Generator_ColumnPropNameInTable="Оплата_доставкиColumn" msprop:Generator_UserColumnName="Оплата доставки" type="xs:boolean" minOccurs="0" />
  422. </xs:sequence>
  423. </xs:complexType>
  424. </xs:element>
  425. <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">
  426. <xs:complexType>
  427. <xs:sequence>
  428. <xs:element name="ID_x0020_товара" 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" />
  429. <xs:element name="Название_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnНазвание_товара" msprop:Generator_ColumnPropNameInRow="Название_товара" msprop:Generator_ColumnPropNameInTable="Название_товараColumn" msprop:Generator_UserColumnName="Название товара" minOccurs="0">
  430. <xs:simpleType>
  431. <xs:restriction base="xs:string">
  432. <xs:maxLength value="50" />
  433. </xs:restriction>
  434. </xs:simpleType>
  435. </xs:element>
  436. <xs:element name="Фирма" msprop:Generator_ColumnVarNameInTable="columnФирма" msprop:Generator_ColumnPropNameInRow="Фирма" msprop:Generator_ColumnPropNameInTable="ФирмаColumn" msprop:Generator_UserColumnName="Фирма" minOccurs="0">
  437. <xs:simpleType>
  438. <xs:restriction base="xs:string">
  439. <xs:maxLength value="50" />
  440. </xs:restriction>
  441. </xs:simpleType>
  442. </xs:element>
  443. <xs:element name="Модель" msprop:Generator_ColumnVarNameInTable="columnМодель" msprop:Generator_ColumnPropNameInRow="Модель" msprop:Generator_ColumnPropNameInTable="МодельColumn" msprop:Generator_UserColumnName="Модель" minOccurs="0">
  444. <xs:simpleType>
  445. <xs:restriction base="xs:string">
  446. <xs:maxLength value="50" />
  447. </xs:restriction>
  448. </xs:simpleType>
  449. </xs:element>
  450. <xs:element name="Технические_x0020_характеристики" msprop:Generator_ColumnVarNameInTable="columnТехнические_характеристики" msprop:Generator_ColumnPropNameInRow="Технические_характеристики" msprop:Generator_ColumnPropNameInTable="Технические_характеристикиColumn" msprop:Generator_UserColumnName="Технические характеристики" minOccurs="0">
  451. <xs:simpleType>
  452. <xs:restriction base="xs:string">
  453. <xs:maxLength value="100" />
  454. </xs:restriction>
  455. </xs:simpleType>
  456. </xs:element>
  457. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  458. <xs:element name="Гарантийный_x0020_срок" 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="50" />
  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="Изображение" minOccurs="0">
  466. <xs:simpleType>
  467. <xs:restriction base="xs:string">
  468. <xs:maxLength value="50" />
  469. </xs:restriction>
  470. </xs:simpleType>
  471. </xs:element>
  472. </xs:sequence>
  473. </xs:complexType>
  474. </xs:element>
  475. <xs:element name="Принятые_x0020_заказы" 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">
  476. <xs:complexType>
  477. <xs:sequence>
  478. <xs:element name="Подтверждение_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnПодтверждение_заказа" msprop:Generator_ColumnPropNameInRow="Подтверждение_заказа" msprop:Generator_ColumnPropNameInTable="Подтверждение_заказаColumn" msprop:Generator_UserColumnName="Подтверждение заказа" type="xs:boolean" minOccurs="0" />
  479. <xs:element name="Дата_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnДата_заказа" msprop:Generator_ColumnPropNameInRow="Дата_заказа" msprop:Generator_ColumnPropNameInTable="Дата_заказаColumn" msprop:Generator_UserColumnName="Дата заказа" type="xs:dateTime" minOccurs="0" />
  480. <xs:element name="Дата_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnДата_доставки" msprop:Generator_ColumnPropNameInRow="Дата_доставки" msprop:Generator_ColumnPropNameInTable="Дата_доставкиColumn" msprop:Generator_UserColumnName="Дата доставки" type="xs:dateTime" minOccurs="0" />
  481. <xs:element name="Время_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnВремя_заказа" msprop:Generator_ColumnPropNameInRow="Время_заказа" msprop:Generator_ColumnPropNameInTable="Время_заказаColumn" msprop:Generator_UserColumnName="Время заказа" type="xs:duration" minOccurs="0" />
  482. <xs:element name="Время_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnВремя_доставки" msprop:Generator_ColumnPropNameInRow="Время_доставки" msprop:Generator_ColumnPropNameInTable="Время_доставкиColumn" msprop:Generator_UserColumnName="Время доставки" type="xs:duration" minOccurs="0" />
  483. <xs:element name="Адрес_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnАдрес_доставки" msprop:Generator_ColumnPropNameInRow="Адрес_доставки" msprop:Generator_ColumnPropNameInTable="Адрес_доставкиColumn" msprop:Generator_UserColumnName="Адрес доставки" minOccurs="0">
  484. <xs:simpleType>
  485. <xs:restriction base="xs:string">
  486. <xs:maxLength value="50" />
  487. </xs:restriction>
  488. </xs:simpleType>
  489. </xs:element>
  490. <xs:element name="Ф_И_О_клиента" msprop:Generator_ColumnVarNameInTable="columnФ_И_О_клиента" msprop:Generator_ColumnPropNameInRow="Ф_И_О_клиента" msprop:Generator_ColumnPropNameInTable="Ф_И_О_клиентаColumn" msprop:Generator_UserColumnName="Ф_И_О_клиента" minOccurs="0">
  491. <xs:simpleType>
  492. <xs:restriction base="xs:string">
  493. <xs:maxLength value="50" />
  494. </xs:restriction>
  495. </xs:simpleType>
  496. </xs:element>
  497. <xs:element name="Контактный_x0020_телефон" msprop:Generator_ColumnVarNameInTable="columnКонтактный_телефон" msprop:Generator_ColumnPropNameInRow="Контактный_телефон" msprop:Generator_ColumnPropNameInTable="Контактный_телефонColumn" msprop:Generator_UserColumnName="Контактный телефон" minOccurs="0">
  498. <xs:simpleType>
  499. <xs:restriction base="xs:string">
  500. <xs:maxLength value="50" />
  501. </xs:restriction>
  502. </xs:simpleType>
  503. </xs:element>
  504. <xs:element name="Ф_И_О_курьера" msprop:Generator_ColumnVarNameInTable="columnФ_И_О_курьера" msprop:Generator_ColumnPropNameInRow="Ф_И_О_курьера" msprop:Generator_ColumnPropNameInTable="Ф_И_О_курьераColumn" msprop:Generator_UserColumnName="Ф_И_О_курьера" minOccurs="0">
  505. <xs:simpleType>
  506. <xs:restriction base="xs:string">
  507. <xs:maxLength value="50" />
  508. </xs:restriction>
  509. </xs:simpleType>
  510. </xs:element>
  511. <xs:element name="Оплата_x0020_доставки" msprop:Generator_ColumnVarNameInTable="columnОплата_доставки" msprop:Generator_ColumnPropNameInRow="Оплата_доставки" msprop:Generator_ColumnPropNameInTable="Оплата_доставкиColumn" msprop:Generator_UserColumnName="Оплата доставки" type="xs:boolean" minOccurs="0" />
  512. </xs:sequence>
  513. </xs:complexType>
  514. </xs:element>
  515. <xs:element name="Цена_x0020_товара" 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">
  516. <xs:complexType>
  517. <xs:sequence>
  518. <xs:element name="Название_x0020_товара" msprop:Generator_ColumnVarNameInTable="columnНазвание_товара" msprop:Generator_ColumnPropNameInRow="Название_товара" msprop:Generator_ColumnPropNameInTable="Название_товараColumn" msprop:Generator_UserColumnName="Название товара" minOccurs="0">
  519. <xs:simpleType>
  520. <xs:restriction base="xs:string">
  521. <xs:maxLength value="50" />
  522. </xs:restriction>
  523. </xs:simpleType>
  524. </xs:element>
  525. <xs:element name="Фирма" msprop:Generator_ColumnVarNameInTable="columnФирма" msprop:Generator_ColumnPropNameInRow="Фирма" msprop:Generator_ColumnPropNameInTable="ФирмаColumn" msprop:Generator_UserColumnName="Фирма" minOccurs="0">
  526. <xs:simpleType>
  527. <xs:restriction base="xs:string">
  528. <xs:maxLength value="50" />
  529. </xs:restriction>
  530. </xs:simpleType>
  531. </xs:element>
  532. <xs:element name="Модель" msprop:Generator_ColumnVarNameInTable="columnМодель" msprop:Generator_ColumnPropNameInRow="Модель" msprop:Generator_ColumnPropNameInTable="МодельColumn" msprop:Generator_UserColumnName="Модель" minOccurs="0">
  533. <xs:simpleType>
  534. <xs:restriction base="xs:string">
  535. <xs:maxLength value="50" />
  536. </xs:restriction>
  537. </xs:simpleType>
  538. </xs:element>
  539. <xs:element name="Технические_x0020_характеристики" msprop:Generator_ColumnVarNameInTable="columnТехнические_характеристики" msprop:Generator_ColumnPropNameInRow="Технические_характеристики" msprop:Generator_ColumnPropNameInTable="Технические_характеристикиColumn" msprop:Generator_UserColumnName="Технические характеристики" minOccurs="0">
  540. <xs:simpleType>
  541. <xs:restriction base="xs:string">
  542. <xs:maxLength value="100" />
  543. </xs:restriction>
  544. </xs:simpleType>
  545. </xs:element>
  546. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:decimal" minOccurs="0" />
  547. <xs:element name="Гарантийный_x0020_срок" msprop:Generator_ColumnVarNameInTable="columnГарантийный_срок" msprop:Generator_ColumnPropNameInRow="Гарантийный_срок" msprop:Generator_ColumnPropNameInTable="Гарантийный_срокColumn" msprop:Generator_UserColumnName="Гарантийный срок" minOccurs="0">
  548. <xs:simpleType>
  549. <xs:restriction base="xs:string">
  550. <xs:maxLength value="50" />
  551. </xs:restriction>
  552. </xs:simpleType>
  553. </xs:element>
  554. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" minOccurs="0">
  555. <xs:simpleType>
  556. <xs:restriction base="xs:string">
  557. <xs:maxLength value="50" />
  558. </xs:restriction>
  559. </xs:simpleType>
  560. </xs:element>
  561. <xs:element name="Ф_И_О__x0020_клиента" msprop:Generator_ColumnVarNameInTable="columnФ_И_О__клиента" msprop:Generator_ColumnPropNameInRow="Ф_И_О__клиента" msprop:Generator_ColumnPropNameInTable="Ф_И_О__клиентаColumn" msprop:Generator_UserColumnName="Ф_И_О_ клиента" minOccurs="0">
  562. <xs:simpleType>
  563. <xs:restriction base="xs:string">
  564. <xs:maxLength value="100" />
  565. </xs:restriction>
  566. </xs:simpleType>
  567. </xs:element>
  568. <xs:element name="Контактный_x0020_телефон" msprop:Generator_ColumnVarNameInTable="columnКонтактный_телефон" msprop:Generator_ColumnPropNameInRow="Контактный_телефон" msprop:Generator_ColumnPropNameInTable="Контактный_телефонColumn" msprop:Generator_UserColumnName="Контактный телефон" minOccurs="0">
  569. <xs:simpleType>
  570. <xs:restriction base="xs:string">
  571. <xs:maxLength value="50" />
  572. </xs:restriction>
  573. </xs:simpleType>
  574. </xs:element>
  575. <xs:element name="Дата_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnДата_заказа" msprop:Generator_ColumnPropNameInRow="Дата_заказа" msprop:Generator_ColumnPropNameInTable="Дата_заказаColumn" msprop:Generator_UserColumnName="Дата заказа" type="xs:dateTime" minOccurs="0" />
  576. </xs:sequence>
  577. </xs:complexType>
  578. </xs:element>
  579. </xs:choice>
  580. </xs:complexType>
  581. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  582. <xs:selector xpath=".//mstns:Заказы" />
  583. <xs:field xpath="mstns:ID_x0020_заказа" />
  584. </xs:unique>
  585. <xs:unique name="Интерент-магазины_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  586. <xs:selector xpath=".//mstns:Интерент-магазины" />
  587. <xs:field xpath="mstns:ID_x0020_Магазина" />
  588. </xs:unique>
  589. <xs:unique name="Товары_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  590. <xs:selector xpath=".//mstns:Товары" />
  591. <xs:field xpath="mstns:ID_x0020_товара" />
  592. </xs:unique>
  593. </xs:element>
  594. <xs:annotation>
  595. <xs:appinfo>
  596. <msdata:Relationship name="FK_Доставки_Заказы" msdata:parent="Заказы" msdata:child="Доставки" msdata:parentkey="ID_x0020_заказа" msdata:childkey="ID_x0020_заказа" msprop:Generator_UserChildTable="Доставки" msprop:Generator_ChildPropName="GetДоставкиRows" msprop:Generator_UserRelationName="FK_Доставки_Заказы" msprop:Generator_RelationVarName="relationFK_Доставки_Заказы" msprop:Generator_UserParentTable="Заказы" msprop:Generator_ParentPropName="ЗаказыRow" />
  597. <msdata:Relationship name="FK_Заказы_Интерент-магазины" msdata:parent="Интерент-магазины" msdata:child="Заказы" msdata:parentkey="ID_x0020_Магазина" msdata:childkey="ID_x0020_магазина" msprop:Generator_UserChildTable="Заказы" msprop:Generator_ChildPropName="GetЗаказыRows" msprop:Generator_UserRelationName="FK_Заказы_Интерент-магазины" msprop:Generator_RelationVarName="_relationFK_Заказы_Интерент_магазины" msprop:Generator_UserParentTable="Интерент-магазины" msprop:Generator_ParentPropName="_Интерент_магазиныRow" />
  598. <msdata:Relationship name="FK_Заказы_Товары1" msdata:parent="Товары" msdata:child="Заказы" msdata:parentkey="ID_x0020_товара" msdata:childkey="ID_x0020_товара" msprop:Generator_UserChildTable="Заказы" msprop:Generator_ChildPropName="GetЗаказыRows" msprop:Generator_UserRelationName="FK_Заказы_Товары1" msprop:Generator_RelationVarName="relationFK_Заказы_Товары1" msprop:Generator_UserParentTable="Товары" msprop:Generator_ParentPropName="ТоварыRow" />
  599. </xs:appinfo>
  600. </xs:annotation>
  601. </xs:schema>