digital_world_8DataSet1.xsd 152 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="digital_world_8DataSet1" targetNamespace="http://tempuri.org/digital_world_8DataSet1.xsd" xmlns:mstns="http://tempuri.org/digital_world_8DataSet1.xsd" xmlns="http://tempuri.org/digital_world_8DataSet1.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="digital_world_8ConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="digital_world_8ConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Digital_World_08.Properties.Settings.GlobalReference.Default.digital_world_8ConnectionString1" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ComponentsTableAdapter" GeneratorDataComponentClassName="ComponentsTableAdapter" Name="Components" UserDataComponentName="ComponentsTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.Components" 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].[Components] WHERE (([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_количество)))</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_Id_единицы_измерения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id единицы измерения" SourceColumnNullMapping="true" SourceVersion="Original" />
  19. <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" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Тип_материала" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Тип_материала" SourceColumnNullMapping="true" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Тип_материала" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Тип_материала" 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="Int32" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Int" 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="Int32" Direction="Input" ParameterName="@Original_количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  26. </Parameters>
  27. </DbCommand>
  28. </DeleteCommand>
  29. <InsertCommand>
  30. <DbCommand CommandType="Text" ModifiedByUser="false">
  31. <CommandText>INSERT INTO [dbo].[Components] ([Название], [Id единицы измерения], [Тип_материала], [Цена], [количество]) VALUES (@Название, @Id_единицы_измерения, @Тип_материала, @Цена, @количество);
  32. SELECT id, Название, [Id единицы измерения], Тип_материала, Цена, количество FROM Components WHERE (id = SCOPE_IDENTITY())</CommandText>
  33. <Parameters>
  34. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  35. <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" />
  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="@Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  38. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  39. </Parameters>
  40. </DbCommand>
  41. </InsertCommand>
  42. <SelectCommand>
  43. <DbCommand CommandType="Text" ModifiedByUser="false">
  44. <CommandText>SELECT id, Название, [Id единицы измерения], Тип_материала, Цена, количество FROM dbo.Components</CommandText>
  45. <Parameters />
  46. </DbCommand>
  47. </SelectCommand>
  48. <UpdateCommand>
  49. <DbCommand CommandType="Text" ModifiedByUser="false">
  50. <CommandText>UPDATE [dbo].[Components] SET [Название] = @Название, [Id единицы измерения] = @Id_единицы_измерения, [Тип_материала] = @Тип_материала, [Цена] = @Цена, [количество] = @количество WHERE (([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_количество)));
  51. SELECT id, Название, [Id единицы измерения], Тип_материала, Цена, количество FROM Components WHERE (id = @id)</CommandText>
  52. <Parameters>
  53. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  54. <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" />
  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="@Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  57. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  58. <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" />
  59. <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" />
  60. <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" />
  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_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  64. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" 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="Int32" Direction="Input" ParameterName="@Original_количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  67. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="digital_world_8.dbo.Components" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  68. </Parameters>
  69. </DbCommand>
  70. </UpdateCommand>
  71. </DbSource>
  72. </MainSource>
  73. <Mappings>
  74. <Mapping SourceColumn="id" DataSetColumn="id" />
  75. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  76. <Mapping SourceColumn="Id единицы измерения" DataSetColumn="Id единицы измерения" />
  77. <Mapping SourceColumn="Тип_материала" DataSetColumn="Тип_материала" />
  78. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  79. <Mapping SourceColumn="количество" DataSetColumn="количество" />
  80. </Mappings>
  81. <Sources />
  82. </TableAdapter>
  83. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="computer_assemblyTableAdapter" GeneratorDataComponentClassName="computer_assemblyTableAdapter" Name="computer_assembly" UserDataComponentName="computer_assemblyTableAdapter">
  84. <MainSource>
  85. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.computer_assembly" 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">
  86. <DeleteCommand>
  87. <DbCommand CommandType="Text" ModifiedByUser="false">
  88. <CommandText>DELETE FROM [computer_assembly] WHERE (((@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_Жетский_диск)) 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_SSD = 1 AND [SSD] IS NULL) OR ([SSD] = @Original_SSD)) AND ((@IsNull_Итоговая_цена = 1 AND [Итоговая цена] IS NULL) OR ([Итоговая цена] = @Original_Итоговая_цена)) AND ([Номер сборки] = @Original_Номер_сборки))</CommandText>
  89. <Parameters>
  90. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Видеокарта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Видеокарта" SourceColumnNullMapping="true" SourceVersion="Original" />
  91. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Видеокарта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Видеокарта" SourceColumnNullMapping="false" SourceVersion="Original" />
  92. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Материнская_плата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Материнская плата" SourceColumnNullMapping="true" SourceVersion="Original" />
  93. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Материнская_плата" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Материнская плата" SourceColumnNullMapping="false" SourceVersion="Original" />
  94. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Процессор" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Процессор" SourceColumnNullMapping="true" SourceVersion="Original" />
  95. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Процессор" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Процессор" SourceColumnNullMapping="false" SourceVersion="Original" />
  96. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Оперативная память" SourceColumnNullMapping="true" SourceVersion="Original" />
  97. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Оперативная память" SourceColumnNullMapping="false" SourceVersion="Original" />
  98. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Оперативная_память" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Оперативная_память" SourceColumnNullMapping="true" SourceVersion="Original" />
  99. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Оперативная_память" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Оперативная_память" SourceColumnNullMapping="false" SourceVersion="Original" />
  100. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Жетский_диск" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Жетский диск" SourceColumnNullMapping="true" SourceVersion="Original" />
  101. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Жетский_диск" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Жетский диск" SourceColumnNullMapping="false" SourceVersion="Original" />
  102. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Куллер" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Куллер" SourceColumnNullMapping="true" SourceVersion="Original" />
  103. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Куллер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Куллер" SourceColumnNullMapping="false" SourceVersion="Original" />
  104. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Система_охлаждения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Система охлаждения" SourceColumnNullMapping="true" SourceVersion="Original" />
  105. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Система_охлаждения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Система охлаждения" SourceColumnNullMapping="false" SourceVersion="Original" />
  106. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Блок_питания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Блок питания" SourceColumnNullMapping="true" SourceVersion="Original" />
  107. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Блок_питания" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Блок питания" SourceColumnNullMapping="false" SourceVersion="Original" />
  108. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SSD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SSD" SourceColumnNullMapping="true" SourceVersion="Original" />
  109. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SSD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SSD" SourceColumnNullMapping="false" SourceVersion="Original" />
  110. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Итоговая_цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Итоговая цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  111. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Итоговая_цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Итоговая цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  112. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Номер_сборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер сборки" SourceColumnNullMapping="false" SourceVersion="Original" />
  113. </Parameters>
  114. </DbCommand>
  115. </DeleteCommand>
  116. <InsertCommand>
  117. <DbCommand CommandType="Text" ModifiedByUser="false">
  118. <CommandText>INSERT INTO [computer_assembly] ([Видеокарта], [Материнская плата], [Процессор], [Оперативная память], [Оперативная_память], [Жетский диск], [Куллер], [Система охлаждения], [Блок питания], [SSD], [Итоговая цена]) VALUES (@Видеокарта, @Материнская_плата, @Процессор, @p1, @Оперативная_память, @Жетский_диск, @Куллер, @Система_охлаждения, @Блок_питания, @SSD, @Итоговая_цена);
  119. SELECT Видеокарта, [Материнская плата], Процессор, [Оперативная память], Оперативная_память, [Жетский диск], Куллер, [Система охлаждения], [Блок питания], SSD, [Итоговая цена], [Номер сборки] FROM computer_assembly WHERE ([Номер сборки] = SCOPE_IDENTITY())</CommandText>
  120. <Parameters>
  121. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Видеокарта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Видеокарта" SourceColumnNullMapping="false" SourceVersion="Current" />
  122. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Материнская_плата" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Материнская плата" SourceColumnNullMapping="false" SourceVersion="Current" />
  123. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Процессор" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Процессор" SourceColumnNullMapping="false" SourceVersion="Current" />
  124. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Оперативная память" SourceColumnNullMapping="false" SourceVersion="Current" />
  125. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Оперативная_память" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Оперативная_память" SourceColumnNullMapping="false" SourceVersion="Current" />
  126. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Жетский_диск" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Жетский диск" SourceColumnNullMapping="false" SourceVersion="Current" />
  127. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Куллер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Куллер" SourceColumnNullMapping="false" SourceVersion="Current" />
  128. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Система_охлаждения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Система охлаждения" SourceColumnNullMapping="false" SourceVersion="Current" />
  129. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Блок_питания" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Блок питания" SourceColumnNullMapping="false" SourceVersion="Current" />
  130. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SSD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SSD" SourceColumnNullMapping="false" SourceVersion="Current" />
  131. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Итоговая_цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Итоговая цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  132. </Parameters>
  133. </DbCommand>
  134. </InsertCommand>
  135. <SelectCommand>
  136. <DbCommand CommandType="Text" ModifiedByUser="false">
  137. <CommandText>SELECT Видеокарта, [Материнская плата], Процессор, [Оперативная память], Оперативная_память, [Жетский диск], Куллер, [Система охлаждения], [Блок питания], SSD, [Итоговая цена], [Номер сборки] FROM computer_assembly</CommandText>
  138. <Parameters />
  139. </DbCommand>
  140. </SelectCommand>
  141. <UpdateCommand>
  142. <DbCommand CommandType="Text" ModifiedByUser="false">
  143. <CommandText>UPDATE [computer_assembly] SET [Видеокарта] = @Видеокарта, [Материнская плата] = @Материнская_плата, [Процессор] = @Процессор, [Оперативная память] = @p1, [Оперативная_память] = @Оперативная_память, [Жетский диск] = @Жетский_диск, [Куллер] = @Куллер, [Система охлаждения] = @Система_охлаждения, [Блок питания] = @Блок_питания, [SSD] = @SSD, [Итоговая цена] = @Итоговая_цена WHERE (((@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_Жетский_диск)) 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_SSD = 1 AND [SSD] IS NULL) OR ([SSD] = @Original_SSD)) AND ((@IsNull_Итоговая_цена = 1 AND [Итоговая цена] IS NULL) OR ([Итоговая цена] = @Original_Итоговая_цена)) AND ([Номер сборки] = @Original_Номер_сборки));
  144. SELECT Видеокарта, [Материнская плата], Процессор, [Оперативная память], Оперативная_память, [Жетский диск], Куллер, [Система охлаждения], [Блок питания], SSD, [Итоговая цена], [Номер сборки] FROM computer_assembly WHERE ([Номер сборки] = @Номер_сборки)</CommandText>
  145. <Parameters>
  146. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Видеокарта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Видеокарта" SourceColumnNullMapping="false" SourceVersion="Current" />
  147. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Материнская_плата" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Материнская плата" SourceColumnNullMapping="false" SourceVersion="Current" />
  148. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Процессор" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Процессор" SourceColumnNullMapping="false" SourceVersion="Current" />
  149. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Оперативная память" SourceColumnNullMapping="false" SourceVersion="Current" />
  150. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Оперативная_память" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Оперативная_память" SourceColumnNullMapping="false" SourceVersion="Current" />
  151. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Жетский_диск" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Жетский диск" SourceColumnNullMapping="false" SourceVersion="Current" />
  152. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Куллер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Куллер" SourceColumnNullMapping="false" SourceVersion="Current" />
  153. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Система_охлаждения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Система охлаждения" SourceColumnNullMapping="false" SourceVersion="Current" />
  154. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Блок_питания" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Блок питания" SourceColumnNullMapping="false" SourceVersion="Current" />
  155. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SSD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SSD" SourceColumnNullMapping="false" SourceVersion="Current" />
  156. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Итоговая_цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Итоговая цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  157. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Видеокарта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Видеокарта" SourceColumnNullMapping="true" SourceVersion="Original" />
  158. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Видеокарта" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Видеокарта" SourceColumnNullMapping="false" SourceVersion="Original" />
  159. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Материнская_плата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Материнская плата" SourceColumnNullMapping="true" SourceVersion="Original" />
  160. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Материнская_плата" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Материнская плата" SourceColumnNullMapping="false" SourceVersion="Original" />
  161. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Процессор" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Процессор" SourceColumnNullMapping="true" SourceVersion="Original" />
  162. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Процессор" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Процессор" SourceColumnNullMapping="false" SourceVersion="Original" />
  163. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Оперативная память" SourceColumnNullMapping="true" SourceVersion="Original" />
  164. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Оперативная память" SourceColumnNullMapping="false" SourceVersion="Original" />
  165. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Оперативная_память" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Оперативная_память" SourceColumnNullMapping="true" SourceVersion="Original" />
  166. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Оперативная_память" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Оперативная_память" SourceColumnNullMapping="false" SourceVersion="Original" />
  167. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Жетский_диск" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Жетский диск" SourceColumnNullMapping="true" SourceVersion="Original" />
  168. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Жетский_диск" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Жетский диск" SourceColumnNullMapping="false" SourceVersion="Original" />
  169. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Куллер" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Куллер" SourceColumnNullMapping="true" SourceVersion="Original" />
  170. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Куллер" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Куллер" SourceColumnNullMapping="false" SourceVersion="Original" />
  171. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Система_охлаждения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Система охлаждения" SourceColumnNullMapping="true" SourceVersion="Original" />
  172. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Система_охлаждения" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Система охлаждения" SourceColumnNullMapping="false" SourceVersion="Original" />
  173. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Блок_питания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Блок питания" SourceColumnNullMapping="true" SourceVersion="Original" />
  174. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Блок_питания" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Блок питания" SourceColumnNullMapping="false" SourceVersion="Original" />
  175. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SSD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SSD" SourceColumnNullMapping="true" SourceVersion="Original" />
  176. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SSD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SSD" SourceColumnNullMapping="false" SourceVersion="Original" />
  177. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Итоговая_цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Итоговая цена" SourceColumnNullMapping="true" SourceVersion="Original" />
  178. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Итоговая_цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Итоговая цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  179. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Номер_сборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер сборки" SourceColumnNullMapping="false" SourceVersion="Original" />
  180. <Parameter AllowDbNull="false" AutogeneratedName="Номер_сборки" ColumnName="Номер сборки" DataSourceName="digital_world_8.dbo.computer_assembly" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Номер_сборки" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Номер сборки" SourceColumnNullMapping="false" SourceVersion="Current" />
  181. </Parameters>
  182. </DbCommand>
  183. </UpdateCommand>
  184. </DbSource>
  185. </MainSource>
  186. <Mappings>
  187. <Mapping SourceColumn="Видеокарта" DataSetColumn="Видеокарта" />
  188. <Mapping SourceColumn="Материнская плата" DataSetColumn="Материнская плата" />
  189. <Mapping SourceColumn="Процессор" DataSetColumn="Процессор" />
  190. <Mapping SourceColumn="Оперативная память" DataSetColumn="Оперативная память" />
  191. <Mapping SourceColumn="Оперативная_память" DataSetColumn="Оперативная_память" />
  192. <Mapping SourceColumn="Жетский диск" DataSetColumn="Жетский диск" />
  193. <Mapping SourceColumn="Куллер" DataSetColumn="Куллер" />
  194. <Mapping SourceColumn="Система охлаждения" DataSetColumn="Система охлаждения" />
  195. <Mapping SourceColumn="Блок питания" DataSetColumn="Блок питания" />
  196. <Mapping SourceColumn="SSD" DataSetColumn="SSD" />
  197. <Mapping SourceColumn="Номер сборки" DataSetColumn="Номер сборки" />
  198. <Mapping SourceColumn="Итоговая цена" DataSetColumn="Итоговая цена" />
  199. </Mappings>
  200. <Sources />
  201. </TableAdapter>
  202. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderTableAdapter" GeneratorDataComponentClassName="OrderTableAdapter" Name="Order" UserDataComponentName="OrderTableAdapter">
  203. <MainSource>
  204. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.[Order]" 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">
  205. <DeleteCommand>
  206. <DbCommand CommandType="Text" ModifiedByUser="false">
  207. <CommandText>DELETE FROM [Order] WHERE (([Id_заказа] = @Original_Id_заказа) AND ((@IsNull_Номер_заказа = 1 AND [Номер заказа] IS NULL) OR ([Номер заказа] = @Original_Номер_заказа)) 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_Номер_сборки)))</CommandText>
  208. <Parameters>
  209. <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" />
  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="Int32" Direction="Input" ParameterName="@Original_Номер_заказа" Precision="0" ProviderType="Int" 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="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  214. <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" />
  215. <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" />
  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="Int32" Direction="Input" ParameterName="@Original_Номер_сборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер сборки" SourceColumnNullMapping="false" SourceVersion="Original" />
  218. </Parameters>
  219. </DbCommand>
  220. </DeleteCommand>
  221. <InsertCommand>
  222. <DbCommand CommandType="Text" ModifiedByUser="false">
  223. <CommandText>INSERT INTO [Order] ([Номер заказа], [Дата], [id статуса], [Номер сборки]) VALUES (@Номер_заказа, @Дата, @id_статуса, @Номер_сборки);
  224. SELECT Id_заказа, [Номер заказа], Дата, [id статуса], [Номер сборки] FROM [Order] WHERE (Id_заказа = SCOPE_IDENTITY())</CommandText>
  225. <Parameters>
  226. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Номер_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  227. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  228. <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" />
  229. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Номер_сборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер сборки" SourceColumnNullMapping="false" SourceVersion="Current" />
  230. </Parameters>
  231. </DbCommand>
  232. </InsertCommand>
  233. <SelectCommand>
  234. <DbCommand CommandType="Text" ModifiedByUser="false">
  235. <CommandText>SELECT Id_заказа, [Номер заказа], Дата, [id статуса], [Номер сборки] FROM [Order]</CommandText>
  236. <Parameters />
  237. </DbCommand>
  238. </SelectCommand>
  239. <UpdateCommand>
  240. <DbCommand CommandType="Text" ModifiedByUser="false">
  241. <CommandText>UPDATE [Order] 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_id_статуса = 1 AND [id статуса] IS NULL) OR ([id статуса] = @Original_id_статуса)) AND ((@IsNull_Номер_сборки = 1 AND [Номер сборки] IS NULL) OR ([Номер сборки] = @Original_Номер_сборки)));
  242. SELECT Id_заказа, [Номер заказа], Дата, [id статуса], [Номер сборки] FROM [Order] WHERE (Id_заказа = @Id_заказа)</CommandText>
  243. <Parameters>
  244. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Номер_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  245. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  246. <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" />
  247. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Номер_сборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер сборки" SourceColumnNullMapping="false" SourceVersion="Current" />
  248. <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" />
  249. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Номер_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер заказа" SourceColumnNullMapping="true" SourceVersion="Original" />
  250. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Номер_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  251. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  252. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  253. <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" />
  254. <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" />
  255. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Номер_сборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер сборки" SourceColumnNullMapping="true" SourceVersion="Original" />
  256. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Номер_сборки" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер сборки" SourceColumnNullMapping="false" SourceVersion="Original" />
  257. <Parameter AllowDbNull="false" AutogeneratedName="Id_заказа" ColumnName="Id_заказа" DataSourceName="digital_world_8.dbo.[Order]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id_заказа" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id_заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  258. </Parameters>
  259. </DbCommand>
  260. </UpdateCommand>
  261. </DbSource>
  262. </MainSource>
  263. <Mappings>
  264. <Mapping SourceColumn="Id_заказа" DataSetColumn="Id_заказа" />
  265. <Mapping SourceColumn="Номер заказа" DataSetColumn="Номер заказа" />
  266. <Mapping SourceColumn="Дата" DataSetColumn="Дата" />
  267. <Mapping SourceColumn="id статуса" DataSetColumn="id статуса" />
  268. <Mapping SourceColumn="Номер сборки" DataSetColumn="Номер сборки" />
  269. </Mappings>
  270. <Sources />
  271. </TableAdapter>
  272. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="order_by_clientsTableAdapter" GeneratorDataComponentClassName="order_by_clientsTableAdapter" Name="order_by_clients" UserDataComponentName="order_by_clientsTableAdapter">
  273. <MainSource>
  274. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.order_by_clients" 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">
  275. <DeleteCommand>
  276. <DbCommand CommandType="Text" ModifiedByUser="false">
  277. <CommandText>DELETE FROM [dbo].[order_by_clients] WHERE (([Номер заказа] = @Original_Номер_заказа) AND ((@IsNull_Пожелания = 1 AND [Пожелания] IS NULL) OR ([Пожелания] = @Original_Пожелания)) AND ((@IsNull_Дата = 1 AND [Дата] IS NULL) OR ([Дата] = @Original_Дата)))</CommandText>
  278. <Parameters>
  279. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Номер_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер заказа" SourceColumnNullMapping="false" SourceVersion="Original" />
  280. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пожелания" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пожелания" SourceColumnNullMapping="true" SourceVersion="Original" />
  281. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Пожелания" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пожелания" SourceColumnNullMapping="false" SourceVersion="Original" />
  282. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  283. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  284. </Parameters>
  285. </DbCommand>
  286. </DeleteCommand>
  287. <InsertCommand>
  288. <DbCommand CommandType="Text" ModifiedByUser="false">
  289. <CommandText>INSERT INTO [dbo].[order_by_clients] ([Пожелания], [Дата]) VALUES (@Пожелания, @Дата);
  290. SELECT [Номер заказа], Пожелания, Дата FROM order_by_clients WHERE ([Номер заказа] = SCOPE_IDENTITY())</CommandText>
  291. <Parameters>
  292. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Пожелания" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пожелания" SourceColumnNullMapping="false" SourceVersion="Current" />
  293. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  294. </Parameters>
  295. </DbCommand>
  296. </InsertCommand>
  297. <SelectCommand>
  298. <DbCommand CommandType="Text" ModifiedByUser="false">
  299. <CommandText>SELECT [Номер заказа], Пожелания, Дата FROM dbo.order_by_clients</CommandText>
  300. <Parameters />
  301. </DbCommand>
  302. </SelectCommand>
  303. <UpdateCommand>
  304. <DbCommand CommandType="Text" ModifiedByUser="false">
  305. <CommandText>UPDATE [dbo].[order_by_clients] SET [Пожелания] = @Пожелания, [Дата] = @Дата WHERE (([Номер заказа] = @Original_Номер_заказа) AND ((@IsNull_Пожелания = 1 AND [Пожелания] IS NULL) OR ([Пожелания] = @Original_Пожелания)) AND ((@IsNull_Дата = 1 AND [Дата] IS NULL) OR ([Дата] = @Original_Дата)));
  306. SELECT [Номер заказа], Пожелания, Дата FROM order_by_clients WHERE ([Номер заказа] = @Номер_заказа)</CommandText>
  307. <Parameters>
  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="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  310. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Номер_заказа" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Номер заказа" 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="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  315. <Parameter AllowDbNull="false" AutogeneratedName="Номер_заказа" ColumnName="Номер заказа" DataSourceName="digital_world_8.dbo.order_by_clients" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Номер_заказа" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Номер заказа" SourceColumnNullMapping="false" SourceVersion="Current" />
  316. </Parameters>
  317. </DbCommand>
  318. </UpdateCommand>
  319. </DbSource>
  320. </MainSource>
  321. <Mappings>
  322. <Mapping SourceColumn="Номер заказа" DataSetColumn="Номер заказа" />
  323. <Mapping SourceColumn="Пожелания" DataSetColumn="Пожелания" />
  324. <Mapping SourceColumn="Дата" DataSetColumn="Дата" />
  325. </Mappings>
  326. <Sources />
  327. </TableAdapter>
  328. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Order_statusTableAdapter" GeneratorDataComponentClassName="Order_statusTableAdapter" Name="Order_status" UserDataComponentName="Order_statusTableAdapter">
  329. <MainSource>
  330. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.Order_status" 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">
  331. <DeleteCommand>
  332. <DbCommand CommandType="Text" ModifiedByUser="false">
  333. <CommandText>DELETE FROM [dbo].[Order_status] WHERE (([id] = @Original_id) AND ((@IsNull_Название_статуса = 1 AND [Название статуса] IS NULL) OR ([Название статуса] = @Original_Название_статуса)))</CommandText>
  334. <Parameters>
  335. <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" />
  336. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название_статуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название статуса" SourceColumnNullMapping="true" SourceVersion="Original" />
  337. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название_статуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название статуса" SourceColumnNullMapping="false" SourceVersion="Original" />
  338. </Parameters>
  339. </DbCommand>
  340. </DeleteCommand>
  341. <InsertCommand>
  342. <DbCommand CommandType="Text" ModifiedByUser="false">
  343. <CommandText>INSERT INTO [dbo].[Order_status] ([Название статуса]) VALUES (@Название_статуса);
  344. SELECT id, [Название статуса] FROM Order_status WHERE (id = SCOPE_IDENTITY())</CommandText>
  345. <Parameters>
  346. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название_статуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название статуса" SourceColumnNullMapping="false" SourceVersion="Current" />
  347. </Parameters>
  348. </DbCommand>
  349. </InsertCommand>
  350. <SelectCommand>
  351. <DbCommand CommandType="Text" ModifiedByUser="false">
  352. <CommandText>SELECT id, [Название статуса] FROM dbo.Order_status</CommandText>
  353. <Parameters />
  354. </DbCommand>
  355. </SelectCommand>
  356. <UpdateCommand>
  357. <DbCommand CommandType="Text" ModifiedByUser="false">
  358. <CommandText>UPDATE [dbo].[Order_status] SET [Название статуса] = @Название_статуса WHERE (([id] = @Original_id) AND ((@IsNull_Название_статуса = 1 AND [Название статуса] IS NULL) OR ([Название статуса] = @Original_Название_статуса)));
  359. SELECT id, [Название статуса] FROM Order_status WHERE (id = @id)</CommandText>
  360. <Parameters>
  361. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название_статуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название статуса" SourceColumnNullMapping="false" SourceVersion="Current" />
  362. <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" />
  363. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название_статуса" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название статуса" SourceColumnNullMapping="true" SourceVersion="Original" />
  364. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название_статуса" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название статуса" SourceColumnNullMapping="false" SourceVersion="Original" />
  365. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="digital_world_8.dbo.Order_status" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  366. </Parameters>
  367. </DbCommand>
  368. </UpdateCommand>
  369. </DbSource>
  370. </MainSource>
  371. <Mappings>
  372. <Mapping SourceColumn="id" DataSetColumn="id" />
  373. <Mapping SourceColumn="Название статуса" DataSetColumn="Название статуса" />
  374. </Mappings>
  375. <Sources />
  376. </TableAdapter>
  377. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="providerTableAdapter" GeneratorDataComponentClassName="providerTableAdapter" Name="provider" UserDataComponentName="providerTableAdapter">
  378. <MainSource>
  379. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.provider" 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">
  380. <DeleteCommand>
  381. <DbCommand CommandType="Text" ModifiedByUser="false">
  382. <CommandText>DELETE FROM [dbo].[provider] WHERE (([id] = @Original_id) AND ((@IsNull_название = 1 AND [название] IS NULL) OR ([название] = @Original_название)) AND ((@IsNull_Страна_производитель = 1 AND [Страна производитель] IS NULL) OR ([Страна производитель] = @Original_Страна_производитель)))</CommandText>
  383. <Parameters>
  384. <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" />
  385. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="true" SourceVersion="Original" />
  386. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Original" />
  387. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Страна_производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="true" SourceVersion="Original" />
  388. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Страна_производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="false" SourceVersion="Original" />
  389. </Parameters>
  390. </DbCommand>
  391. </DeleteCommand>
  392. <InsertCommand>
  393. <DbCommand CommandType="Text" ModifiedByUser="false">
  394. <CommandText>INSERT INTO [dbo].[provider] ([id], [название], [Страна производитель]) VALUES (@id, @название, @Страна_производитель);
  395. SELECT id, название, [Страна производитель] FROM provider WHERE (id = @id)</CommandText>
  396. <Parameters>
  397. <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" />
  398. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Current" />
  399. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Страна_производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
  400. </Parameters>
  401. </DbCommand>
  402. </InsertCommand>
  403. <SelectCommand>
  404. <DbCommand CommandType="Text" ModifiedByUser="false">
  405. <CommandText>SELECT id, название, [Страна производитель] FROM dbo.provider</CommandText>
  406. <Parameters />
  407. </DbCommand>
  408. </SelectCommand>
  409. <UpdateCommand>
  410. <DbCommand CommandType="Text" ModifiedByUser="false">
  411. <CommandText>UPDATE [dbo].[provider] SET [id] = @id, [название] = @название, [Страна производитель] = @Страна_производитель WHERE (([id] = @Original_id) AND ((@IsNull_название = 1 AND [название] IS NULL) OR ([название] = @Original_название)) AND ((@IsNull_Страна_производитель = 1 AND [Страна производитель] IS NULL) OR ([Страна производитель] = @Original_Страна_производитель)));
  412. SELECT id, название, [Страна производитель] FROM provider WHERE (id = @id)</CommandText>
  413. <Parameters>
  414. <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" />
  415. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Current" />
  416. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Страна_производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
  417. <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" />
  418. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="true" SourceVersion="Original" />
  419. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Original" />
  420. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Страна_производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="true" SourceVersion="Original" />
  421. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Страна_производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Страна производитель" SourceColumnNullMapping="false" SourceVersion="Original" />
  422. </Parameters>
  423. </DbCommand>
  424. </UpdateCommand>
  425. </DbSource>
  426. </MainSource>
  427. <Mappings>
  428. <Mapping SourceColumn="id" DataSetColumn="id" />
  429. <Mapping SourceColumn="название" DataSetColumn="название" />
  430. <Mapping SourceColumn="Страна производитель" DataSetColumn="Страна производитель" />
  431. </Mappings>
  432. <Sources />
  433. </TableAdapter>
  434. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RoleTableAdapter" GeneratorDataComponentClassName="RoleTableAdapter" Name="Role" UserDataComponentName="RoleTableAdapter">
  435. <MainSource>
  436. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.Role" 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">
  437. <DeleteCommand>
  438. <DbCommand CommandType="Text" ModifiedByUser="false">
  439. <CommandText>DELETE FROM [dbo].[Role] WHERE (([Id] = @Original_Id) AND ((@IsNull_Название_роли = 1 AND [Название роли] IS NULL) OR ([Название роли] = @Original_Название_роли)))</CommandText>
  440. <Parameters>
  441. <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" />
  442. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название_роли" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название роли" SourceColumnNullMapping="true" SourceVersion="Original" />
  443. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название_роли" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название роли" SourceColumnNullMapping="false" SourceVersion="Original" />
  444. </Parameters>
  445. </DbCommand>
  446. </DeleteCommand>
  447. <InsertCommand>
  448. <DbCommand CommandType="Text" ModifiedByUser="false">
  449. <CommandText>INSERT INTO [dbo].[Role] ([Id], [Название роли]) VALUES (@Id, @Название_роли);
  450. SELECT Id, [Название роли] FROM Role WHERE (Id = @Id)</CommandText>
  451. <Parameters>
  452. <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" />
  453. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название_роли" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название роли" SourceColumnNullMapping="false" SourceVersion="Current" />
  454. </Parameters>
  455. </DbCommand>
  456. </InsertCommand>
  457. <SelectCommand>
  458. <DbCommand CommandType="Text" ModifiedByUser="false">
  459. <CommandText>SELECT Id, [Название роли] FROM dbo.Role</CommandText>
  460. <Parameters />
  461. </DbCommand>
  462. </SelectCommand>
  463. <UpdateCommand>
  464. <DbCommand CommandType="Text" ModifiedByUser="false">
  465. <CommandText>UPDATE [dbo].[Role] SET [Id] = @Id, [Название роли] = @Название_роли WHERE (([Id] = @Original_Id) AND ((@IsNull_Название_роли = 1 AND [Название роли] IS NULL) OR ([Название роли] = @Original_Название_роли)));
  466. SELECT Id, [Название роли] FROM Role WHERE (Id = @Id)</CommandText>
  467. <Parameters>
  468. <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" />
  469. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название_роли" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название роли" SourceColumnNullMapping="false" SourceVersion="Current" />
  470. <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" />
  471. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название_роли" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название роли" SourceColumnNullMapping="true" SourceVersion="Original" />
  472. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название_роли" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название роли" SourceColumnNullMapping="false" SourceVersion="Original" />
  473. </Parameters>
  474. </DbCommand>
  475. </UpdateCommand>
  476. </DbSource>
  477. </MainSource>
  478. <Mappings>
  479. <Mapping SourceColumn="Id" DataSetColumn="Id" />
  480. <Mapping SourceColumn="Название роли" DataSetColumn="Название роли" />
  481. </Mappings>
  482. <Sources />
  483. </TableAdapter>
  484. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="unit_of_measurementTableAdapter" GeneratorDataComponentClassName="unit_of_measurementTableAdapter" Name="unit_of_measurement" UserDataComponentName="unit_of_measurementTableAdapter">
  485. <MainSource>
  486. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.unit_of_measurement" 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">
  487. <DeleteCommand>
  488. <DbCommand CommandType="Text" ModifiedByUser="false">
  489. <CommandText>DELETE FROM [dbo].[unit_of_measurement] WHERE (([id] = @Original_id) AND ((@IsNull_название = 1 AND [название] IS NULL) OR ([название] = @Original_название)))</CommandText>
  490. <Parameters>
  491. <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" />
  492. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="true" SourceVersion="Original" />
  493. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Original" />
  494. </Parameters>
  495. </DbCommand>
  496. </DeleteCommand>
  497. <InsertCommand>
  498. <DbCommand CommandType="Text" ModifiedByUser="false">
  499. <CommandText>INSERT INTO [dbo].[unit_of_measurement] ([название]) VALUES (@название);
  500. SELECT id, название FROM unit_of_measurement WHERE (id = SCOPE_IDENTITY())</CommandText>
  501. <Parameters>
  502. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Current" />
  503. </Parameters>
  504. </DbCommand>
  505. </InsertCommand>
  506. <SelectCommand>
  507. <DbCommand CommandType="Text" ModifiedByUser="false">
  508. <CommandText>SELECT id, название FROM dbo.unit_of_measurement</CommandText>
  509. <Parameters />
  510. </DbCommand>
  511. </SelectCommand>
  512. <UpdateCommand>
  513. <DbCommand CommandType="Text" ModifiedByUser="false">
  514. <CommandText>UPDATE [dbo].[unit_of_measurement] SET [название] = @название WHERE (([id] = @Original_id) AND ((@IsNull_название = 1 AND [название] IS NULL) OR ([название] = @Original_название)));
  515. SELECT id, название FROM unit_of_measurement WHERE (id = @id)</CommandText>
  516. <Parameters>
  517. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Current" />
  518. <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" />
  519. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="true" SourceVersion="Original" />
  520. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Original" />
  521. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="digital_world_8.dbo.unit_of_measurement" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  522. </Parameters>
  523. </DbCommand>
  524. </UpdateCommand>
  525. </DbSource>
  526. </MainSource>
  527. <Mappings>
  528. <Mapping SourceColumn="id" DataSetColumn="id" />
  529. <Mapping SourceColumn="название" DataSetColumn="название" />
  530. </Mappings>
  531. <Sources />
  532. </TableAdapter>
  533. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
  534. <MainSource>
  535. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  536. <DeleteCommand>
  537. <DbCommand CommandType="Text" ModifiedByUser="false">
  538. <CommandText>DELETE FROM [dbo].[Users] WHERE (([Id] = @Original_Id) AND ((@IsNull_Username = 1 AND [Username] IS NULL) OR ([Username] = @Original_Username)) AND ((@IsNull_Password = 1 AND [Password] IS NULL) OR ([Password] = @Original_Password)) AND ((@IsNull_Role = 1 AND [Role] IS NULL) OR ([Role] = @Original_Role)))</CommandText>
  539. <Parameters>
  540. <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" />
  541. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Username" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="true" SourceVersion="Original" />
  542. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Username" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Original" />
  543. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="true" SourceVersion="Original" />
  544. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
  545. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="true" SourceVersion="Original" />
  546. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Original" />
  547. </Parameters>
  548. </DbCommand>
  549. </DeleteCommand>
  550. <InsertCommand>
  551. <DbCommand CommandType="Text" ModifiedByUser="false">
  552. <CommandText>INSERT INTO [dbo].[Users] ([Id], [Username], [Password], [Role]) VALUES (@Id, @Username, @Password, @Role);
  553. SELECT Id, Username, Password, Role FROM Users WHERE (Id = @Id)</CommandText>
  554. <Parameters>
  555. <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" />
  556. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Current" />
  557. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
  558. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Current" />
  559. </Parameters>
  560. </DbCommand>
  561. </InsertCommand>
  562. <SelectCommand>
  563. <DbCommand CommandType="Text" ModifiedByUser="false">
  564. <CommandText>SELECT Id, Username, Password, Role FROM dbo.Users</CommandText>
  565. <Parameters />
  566. </DbCommand>
  567. </SelectCommand>
  568. <UpdateCommand>
  569. <DbCommand CommandType="Text" ModifiedByUser="false">
  570. <CommandText>UPDATE [dbo].[Users] SET [Id] = @Id, [Username] = @Username, [Password] = @Password, [Role] = @Role WHERE (([Id] = @Original_Id) AND ((@IsNull_Username = 1 AND [Username] IS NULL) OR ([Username] = @Original_Username)) AND ((@IsNull_Password = 1 AND [Password] IS NULL) OR ([Password] = @Original_Password)) AND ((@IsNull_Role = 1 AND [Role] IS NULL) OR ([Role] = @Original_Role)));
  571. SELECT Id, Username, Password, Role FROM Users WHERE (Id = @Id)</CommandText>
  572. <Parameters>
  573. <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" />
  574. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Current" />
  575. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
  576. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Current" />
  577. <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" />
  578. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Username" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="true" SourceVersion="Original" />
  579. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Username" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Original" />
  580. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="true" SourceVersion="Original" />
  581. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
  582. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="true" SourceVersion="Original" />
  583. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Role" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Original" />
  584. </Parameters>
  585. </DbCommand>
  586. </UpdateCommand>
  587. </DbSource>
  588. </MainSource>
  589. <Mappings>
  590. <Mapping SourceColumn="Id" DataSetColumn="Id" />
  591. <Mapping SourceColumn="Username" DataSetColumn="Username" />
  592. <Mapping SourceColumn="Password" DataSetColumn="Password" />
  593. <Mapping SourceColumn="Role" DataSetColumn="Role" />
  594. </Mappings>
  595. <Sources />
  596. </TableAdapter>
  597. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Postavka_materialTableAdapter" GeneratorDataComponentClassName="Postavka_materialTableAdapter" Name="Postavka_material" UserDataComponentName="Postavka_materialTableAdapter">
  598. <MainSource>
  599. <DbSource ConnectionRef="digital_world_8ConnectionString1 (Settings)" DbObjectName="digital_world_8.dbo.Postavka_material" 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">
  600. <DeleteCommand>
  601. <DbCommand CommandType="Text" ModifiedByUser="false">
  602. <CommandText>DELETE FROM [dbo].[Postavka_material] WHERE (([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 ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)))</CommandText>
  603. <Parameters>
  604. <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" />
  605. <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" />
  606. <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" />
  607. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  608. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  609. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  610. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  611. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Тип_материала" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Тип материала" SourceColumnNullMapping="true" SourceVersion="Original" />
  612. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Тип_материала" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Тип материала" SourceColumnNullMapping="false" SourceVersion="Original" />
  613. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  614. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  615. </Parameters>
  616. </DbCommand>
  617. </DeleteCommand>
  618. <InsertCommand>
  619. <DbCommand CommandType="Text" ModifiedByUser="false">
  620. <CommandText>INSERT INTO [dbo].[Postavka_material] ([id производителя], [Дата], [Название], [Тип материала], [Количество]) VALUES (@id_производителя, @Дата, @Название, @Тип_материала, @Количество);
  621. SELECT id, [id производителя], Дата, Название, [Тип материала], Количество FROM Postavka_material WHERE (id = SCOPE_IDENTITY())</CommandText>
  622. <Parameters>
  623. <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" />
  624. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  625. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  626. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Тип_материала" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Тип материала" SourceColumnNullMapping="false" SourceVersion="Current" />
  627. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  628. </Parameters>
  629. </DbCommand>
  630. </InsertCommand>
  631. <SelectCommand>
  632. <DbCommand CommandType="Text" ModifiedByUser="false">
  633. <CommandText>SELECT id, [id производителя], Дата, Название, [Тип материала], Количество FROM dbo.Postavka_material</CommandText>
  634. <Parameters />
  635. </DbCommand>
  636. </SelectCommand>
  637. <UpdateCommand>
  638. <DbCommand CommandType="Text" ModifiedByUser="false">
  639. <CommandText>UPDATE [dbo].[Postavka_material] SET [id производителя] = @id_производителя, [Дата] = @Дата, [Название] = @Название, [Тип материала] = @Тип_материала, [Количество] = @Количество WHERE (([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 ((@IsNull_Количество = 1 AND [Количество] IS NULL) OR ([Количество] = @Original_Количество)));
  640. SELECT id, [id производителя], Дата, Название, [Тип материала], Количество FROM Postavka_material WHERE (id = @id)</CommandText>
  641. <Parameters>
  642. <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" />
  643. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  644. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Current" />
  645. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Тип_материала" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Тип материала" SourceColumnNullMapping="false" SourceVersion="Current" />
  646. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  647. <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" />
  648. <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" />
  649. <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" />
  650. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  651. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  652. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Название" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="true" SourceVersion="Original" />
  653. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Название" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Название" SourceColumnNullMapping="false" SourceVersion="Original" />
  654. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Тип_материала" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Тип материала" SourceColumnNullMapping="true" SourceVersion="Original" />
  655. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Тип_материала" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Тип материала" SourceColumnNullMapping="false" SourceVersion="Original" />
  656. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  657. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  658. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="digital_world_8.dbo.Postavka_material" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  659. </Parameters>
  660. </DbCommand>
  661. </UpdateCommand>
  662. </DbSource>
  663. </MainSource>
  664. <Mappings>
  665. <Mapping SourceColumn="id" DataSetColumn="id" />
  666. <Mapping SourceColumn="id производителя" DataSetColumn="id производителя" />
  667. <Mapping SourceColumn="Дата" DataSetColumn="Дата" />
  668. <Mapping SourceColumn="Название" DataSetColumn="Название" />
  669. <Mapping SourceColumn="Тип материала" DataSetColumn="Тип материала" />
  670. <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
  671. </Mappings>
  672. <Sources />
  673. </TableAdapter>
  674. </Tables>
  675. <Sources />
  676. </DataSource>
  677. </xs:appinfo>
  678. </xs:annotation>
  679. <xs:element name="digital_world_8DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="digital_world_8DataSet1" msprop:Generator_UserDSName="digital_world_8DataSet1">
  680. <xs:complexType>
  681. <xs:choice minOccurs="0" maxOccurs="unbounded">
  682. <xs:element name="Components" msprop:Generator_TableClassName="ComponentsDataTable" msprop:Generator_TableVarName="tableComponents" msprop:Generator_TablePropName="Components" msprop:Generator_RowDeletingName="ComponentsRowDeleting" msprop:Generator_RowChangingName="ComponentsRowChanging" msprop:Generator_RowEvHandlerName="ComponentsRowChangeEventHandler" msprop:Generator_RowDeletedName="ComponentsRowDeleted" msprop:Generator_UserTableName="Components" msprop:Generator_RowChangedName="ComponentsRowChanged" msprop:Generator_RowEvArgName="ComponentsRowChangeEvent" msprop:Generator_RowClassName="ComponentsRow">
  683. <xs:complexType>
  684. <xs:sequence>
  685. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  686. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  687. <xs:simpleType>
  688. <xs:restriction base="xs:string">
  689. <xs:maxLength value="2147483647" />
  690. </xs:restriction>
  691. </xs:simpleType>
  692. </xs:element>
  693. <xs:element name="Id_x0020_единицы_x0020_измерения" msprop:Generator_ColumnVarNameInTable="columnId_единицы_измерения" msprop:Generator_ColumnPropNameInRow="Id_единицы_измерения" msprop:Generator_ColumnPropNameInTable="Id_единицы_измеренияColumn" msprop:Generator_UserColumnName="Id единицы измерения" type="xs:int" minOccurs="0" />
  694. <xs:element name="Тип_материала" msprop:Generator_ColumnVarNameInTable="columnТип_материала" msprop:Generator_ColumnPropNameInRow="Тип_материала" msprop:Generator_ColumnPropNameInTable="Тип_материалаColumn" msprop:Generator_UserColumnName="Тип_материала" minOccurs="0">
  695. <xs:simpleType>
  696. <xs:restriction base="xs:string">
  697. <xs:maxLength value="50" />
  698. </xs:restriction>
  699. </xs:simpleType>
  700. </xs:element>
  701. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" type="xs:int" minOccurs="0" />
  702. <xs:element name="количество" msprop:Generator_ColumnVarNameInTable="columnколичество" msprop:Generator_ColumnPropNameInRow="количество" msprop:Generator_ColumnPropNameInTable="количествоColumn" msprop:Generator_UserColumnName="количество" type="xs:int" minOccurs="0" />
  703. </xs:sequence>
  704. </xs:complexType>
  705. </xs:element>
  706. <xs:element name="computer_assembly" msprop:Generator_TableClassName="computer_assemblyDataTable" msprop:Generator_TableVarName="tablecomputer_assembly" msprop:Generator_TablePropName="computer_assembly" msprop:Generator_RowDeletingName="computer_assemblyRowDeleting" msprop:Generator_RowChangingName="computer_assemblyRowChanging" msprop:Generator_RowEvHandlerName="computer_assemblyRowChangeEventHandler" msprop:Generator_RowDeletedName="computer_assemblyRowDeleted" msprop:Generator_UserTableName="computer_assembly" msprop:Generator_RowChangedName="computer_assemblyRowChanged" msprop:Generator_RowEvArgName="computer_assemblyRowChangeEvent" msprop:Generator_RowClassName="computer_assemblyRow">
  707. <xs:complexType>
  708. <xs:sequence>
  709. <xs:element name="Видеокарта" msprop:Generator_ColumnVarNameInTable="columnВидеокарта" msprop:Generator_ColumnPropNameInRow="Видеокарта" msprop:Generator_ColumnPropNameInTable="ВидеокартаColumn" msprop:Generator_UserColumnName="Видеокарта" minOccurs="0">
  710. <xs:simpleType>
  711. <xs:restriction base="xs:string">
  712. <xs:maxLength value="150" />
  713. </xs:restriction>
  714. </xs:simpleType>
  715. </xs:element>
  716. <xs:element name="Материнская_x0020_плата" msprop:Generator_ColumnVarNameInTable="columnМатеринская_плата" msprop:Generator_ColumnPropNameInRow="Материнская_плата" msprop:Generator_ColumnPropNameInTable="Материнская_платаColumn" msprop:Generator_UserColumnName="Материнская плата" minOccurs="0">
  717. <xs:simpleType>
  718. <xs:restriction base="xs:string">
  719. <xs:maxLength value="150" />
  720. </xs:restriction>
  721. </xs:simpleType>
  722. </xs:element>
  723. <xs:element name="Процессор" msprop:Generator_ColumnVarNameInTable="columnПроцессор" msprop:Generator_ColumnPropNameInRow="Процессор" msprop:Generator_ColumnPropNameInTable="ПроцессорColumn" msprop:Generator_UserColumnName="Процессор" minOccurs="0">
  724. <xs:simpleType>
  725. <xs:restriction base="xs:string">
  726. <xs:maxLength value="150" />
  727. </xs:restriction>
  728. </xs:simpleType>
  729. </xs:element>
  730. <xs:element name="Оперативная_x0020_память" msprop:Generator_ColumnVarNameInTable="columnОперативная_память" msprop:Generator_ColumnPropNameInRow="Оперативная_память" msprop:Generator_ColumnPropNameInTable="Оперативная_памятьColumn" msprop:Generator_UserColumnName="Оперативная память" minOccurs="0">
  731. <xs:simpleType>
  732. <xs:restriction base="xs:string">
  733. <xs:maxLength value="150" />
  734. </xs:restriction>
  735. </xs:simpleType>
  736. </xs:element>
  737. <xs:element name="Оперативная_память" msprop:Generator_ColumnVarNameInTable="_columnОперативная_память" msprop:Generator_ColumnPropNameInRow="_Оперативная_память" msprop:Generator_ColumnPropNameInTable="_Оперативная_памятьColumn" msprop:Generator_UserColumnName="Оперативная_память" minOccurs="0">
  738. <xs:simpleType>
  739. <xs:restriction base="xs:string">
  740. <xs:maxLength value="150" />
  741. </xs:restriction>
  742. </xs:simpleType>
  743. </xs:element>
  744. <xs:element name="Жетский_x0020_диск" msprop:Generator_ColumnVarNameInTable="columnЖетский_диск" msprop:Generator_ColumnPropNameInRow="Жетский_диск" msprop:Generator_ColumnPropNameInTable="Жетский_дискColumn" msprop:Generator_UserColumnName="Жетский диск" minOccurs="0">
  745. <xs:simpleType>
  746. <xs:restriction base="xs:string">
  747. <xs:maxLength value="150" />
  748. </xs:restriction>
  749. </xs:simpleType>
  750. </xs:element>
  751. <xs:element name="Куллер" msprop:Generator_ColumnVarNameInTable="columnКуллер" msprop:Generator_ColumnPropNameInRow="Куллер" msprop:Generator_ColumnPropNameInTable="КуллерColumn" msprop:Generator_UserColumnName="Куллер" minOccurs="0">
  752. <xs:simpleType>
  753. <xs:restriction base="xs:string">
  754. <xs:maxLength value="150" />
  755. </xs:restriction>
  756. </xs:simpleType>
  757. </xs:element>
  758. <xs:element name="Система_x0020_охлаждения" msprop:Generator_ColumnVarNameInTable="columnСистема_охлаждения" msprop:Generator_ColumnPropNameInRow="Система_охлаждения" msprop:Generator_ColumnPropNameInTable="Система_охлажденияColumn" msprop:Generator_UserColumnName="Система охлаждения" minOccurs="0">
  759. <xs:simpleType>
  760. <xs:restriction base="xs:string">
  761. <xs:maxLength value="150" />
  762. </xs:restriction>
  763. </xs:simpleType>
  764. </xs:element>
  765. <xs:element name="Блок_x0020_питания" msprop:Generator_ColumnVarNameInTable="columnБлок_питания" msprop:Generator_ColumnPropNameInRow="Блок_питания" msprop:Generator_ColumnPropNameInTable="Блок_питанияColumn" msprop:Generator_UserColumnName="Блок питания" minOccurs="0">
  766. <xs:simpleType>
  767. <xs:restriction base="xs:string">
  768. <xs:maxLength value="150" />
  769. </xs:restriction>
  770. </xs:simpleType>
  771. </xs:element>
  772. <xs:element name="SSD" msprop:Generator_ColumnVarNameInTable="columnSSD" msprop:Generator_ColumnPropNameInRow="SSD" msprop:Generator_ColumnPropNameInTable="SSDColumn" msprop:Generator_UserColumnName="SSD" minOccurs="0">
  773. <xs:simpleType>
  774. <xs:restriction base="xs:string">
  775. <xs:maxLength value="150" />
  776. </xs:restriction>
  777. </xs:simpleType>
  778. </xs:element>
  779. <xs:element name="Номер_x0020_сборки" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnНомер_сборки" msprop:Generator_ColumnPropNameInRow="Номер_сборки" msprop:Generator_ColumnPropNameInTable="Номер_сборкиColumn" msprop:Generator_UserColumnName="Номер сборки" type="xs:int" />
  780. <xs:element name="Итоговая_x0020_цена" msprop:Generator_ColumnVarNameInTable="columnИтоговая_цена" msprop:Generator_ColumnPropNameInRow="Итоговая_цена" msprop:Generator_ColumnPropNameInTable="Итоговая_ценаColumn" msprop:Generator_UserColumnName="Итоговая цена" type="xs:int" minOccurs="0" />
  781. </xs:sequence>
  782. </xs:complexType>
  783. </xs:element>
  784. <xs:element name="Order" msprop:Generator_TableClassName="OrderDataTable" msprop:Generator_TableVarName="tableOrder" msprop:Generator_TablePropName="Order" msprop:Generator_RowDeletingName="OrderRowDeleting" msprop:Generator_RowChangingName="OrderRowChanging" msprop:Generator_RowEvHandlerName="OrderRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderRowDeleted" msprop:Generator_UserTableName="Order" msprop:Generator_RowChangedName="OrderRowChanged" msprop:Generator_RowEvArgName="OrderRowChangeEvent" msprop:Generator_RowClassName="OrderRow">
  785. <xs:complexType>
  786. <xs:sequence>
  787. <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" />
  788. <xs:element name="Номер_x0020_заказа" msprop:Generator_ColumnVarNameInTable="columnНомер_заказа" msprop:Generator_ColumnPropNameInRow="Номер_заказа" msprop:Generator_ColumnPropNameInTable="Номер_заказаColumn" msprop:Generator_UserColumnName="Номер заказа" type="xs:int" minOccurs="0" />
  789. <xs:element name="Дата" msprop:Generator_ColumnVarNameInTable="columnДата" msprop:Generator_ColumnPropNameInRow="Дата" msprop:Generator_ColumnPropNameInTable="ДатаColumn" msprop:Generator_UserColumnName="Дата" type="xs:dateTime" minOccurs="0" />
  790. <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" />
  791. <xs:element name="Номер_x0020_сборки" msprop:Generator_ColumnVarNameInTable="columnНомер_сборки" msprop:Generator_ColumnPropNameInRow="Номер_сборки" msprop:Generator_ColumnPropNameInTable="Номер_сборкиColumn" msprop:Generator_UserColumnName="Номер сборки" type="xs:int" minOccurs="0" />
  792. </xs:sequence>
  793. </xs:complexType>
  794. </xs:element>
  795. <xs:element name="order_by_clients" msprop:Generator_TableClassName="order_by_clientsDataTable" msprop:Generator_TableVarName="tableorder_by_clients" msprop:Generator_TablePropName="order_by_clients" msprop:Generator_RowDeletingName="order_by_clientsRowDeleting" msprop:Generator_RowChangingName="order_by_clientsRowChanging" msprop:Generator_RowEvHandlerName="order_by_clientsRowChangeEventHandler" msprop:Generator_RowDeletedName="order_by_clientsRowDeleted" msprop:Generator_UserTableName="order_by_clients" msprop:Generator_RowChangedName="order_by_clientsRowChanged" msprop:Generator_RowEvArgName="order_by_clientsRowChangeEvent" msprop:Generator_RowClassName="order_by_clientsRow">
  796. <xs:complexType>
  797. <xs:sequence>
  798. <xs:element name="Номер_x0020_заказа" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnНомер_заказа" msprop:Generator_ColumnPropNameInRow="Номер_заказа" msprop:Generator_ColumnPropNameInTable="Номер_заказаColumn" msprop:Generator_UserColumnName="Номер заказа" type="xs:int" />
  799. <xs:element name="Пожелания" msprop:Generator_ColumnVarNameInTable="columnПожелания" msprop:Generator_ColumnPropNameInRow="Пожелания" msprop:Generator_ColumnPropNameInTable="ПожеланияColumn" msprop:Generator_UserColumnName="Пожелания" minOccurs="0">
  800. <xs:simpleType>
  801. <xs:restriction base="xs:string">
  802. <xs:maxLength value="50" />
  803. </xs:restriction>
  804. </xs:simpleType>
  805. </xs:element>
  806. <xs:element name="Дата" msprop:Generator_ColumnVarNameInTable="columnДата" msprop:Generator_ColumnPropNameInRow="Дата" msprop:Generator_ColumnPropNameInTable="ДатаColumn" msprop:Generator_UserColumnName="Дата" type="xs:dateTime" minOccurs="0" />
  807. </xs:sequence>
  808. </xs:complexType>
  809. </xs:element>
  810. <xs:element name="Order_status" msprop:Generator_TableClassName="Order_statusDataTable" msprop:Generator_TableVarName="tableOrder_status" msprop:Generator_TablePropName="Order_status" msprop:Generator_RowDeletingName="Order_statusRowDeleting" msprop:Generator_RowChangingName="Order_statusRowChanging" msprop:Generator_RowEvHandlerName="Order_statusRowChangeEventHandler" msprop:Generator_RowDeletedName="Order_statusRowDeleted" msprop:Generator_UserTableName="Order_status" msprop:Generator_RowChangedName="Order_statusRowChanged" msprop:Generator_RowEvArgName="Order_statusRowChangeEvent" msprop:Generator_RowClassName="Order_statusRow">
  811. <xs:complexType>
  812. <xs:sequence>
  813. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  814. <xs:element name="Название_x0020_статуса" msprop:Generator_ColumnVarNameInTable="columnНазвание_статуса" msprop:Generator_ColumnPropNameInRow="Название_статуса" msprop:Generator_ColumnPropNameInTable="Название_статусаColumn" msprop:Generator_UserColumnName="Название статуса" minOccurs="0">
  815. <xs:simpleType>
  816. <xs:restriction base="xs:string">
  817. <xs:maxLength value="50" />
  818. </xs:restriction>
  819. </xs:simpleType>
  820. </xs:element>
  821. </xs:sequence>
  822. </xs:complexType>
  823. </xs:element>
  824. <xs:element name="provider" msprop:Generator_TableClassName="providerDataTable" msprop:Generator_TableVarName="tableprovider" msprop:Generator_TablePropName="provider" msprop:Generator_RowDeletingName="providerRowDeleting" msprop:Generator_RowChangingName="providerRowChanging" msprop:Generator_RowEvHandlerName="providerRowChangeEventHandler" msprop:Generator_RowDeletedName="providerRowDeleted" msprop:Generator_UserTableName="provider" msprop:Generator_RowChangedName="providerRowChanged" msprop:Generator_RowEvArgName="providerRowChangeEvent" msprop:Generator_RowClassName="providerRow">
  825. <xs:complexType>
  826. <xs:sequence>
  827. <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  828. <xs:element name="название" msprop:Generator_ColumnVarNameInTable="columnназвание" msprop:Generator_ColumnPropNameInRow="название" msprop:Generator_ColumnPropNameInTable="названиеColumn" msprop:Generator_UserColumnName="название" minOccurs="0">
  829. <xs:simpleType>
  830. <xs:restriction base="xs:string">
  831. <xs:maxLength value="50" />
  832. </xs:restriction>
  833. </xs:simpleType>
  834. </xs:element>
  835. <xs:element name="Страна_x0020_производитель" msprop:Generator_ColumnVarNameInTable="columnСтрана_производитель" msprop:Generator_ColumnPropNameInRow="Страна_производитель" msprop:Generator_ColumnPropNameInTable="Страна_производительColumn" msprop:Generator_UserColumnName="Страна производитель" minOccurs="0">
  836. <xs:simpleType>
  837. <xs:restriction base="xs:string">
  838. <xs:maxLength value="50" />
  839. </xs:restriction>
  840. </xs:simpleType>
  841. </xs:element>
  842. </xs:sequence>
  843. </xs:complexType>
  844. </xs:element>
  845. <xs:element name="Role" msprop:Generator_TableClassName="RoleDataTable" msprop:Generator_TableVarName="tableRole" msprop:Generator_TablePropName="Role" msprop:Generator_RowDeletingName="RoleRowDeleting" msprop:Generator_RowChangingName="RoleRowChanging" msprop:Generator_RowEvHandlerName="RoleRowChangeEventHandler" msprop:Generator_RowDeletedName="RoleRowDeleted" msprop:Generator_UserTableName="Role" msprop:Generator_RowChangedName="RoleRowChanged" msprop:Generator_RowEvArgName="RoleRowChangeEvent" msprop:Generator_RowClassName="RoleRow">
  846. <xs:complexType>
  847. <xs:sequence>
  848. <xs:element name="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
  849. <xs:element name="Название_x0020_роли" msprop:Generator_ColumnVarNameInTable="columnНазвание_роли" msprop:Generator_ColumnPropNameInRow="Название_роли" msprop:Generator_ColumnPropNameInTable="Название_ролиColumn" msprop:Generator_UserColumnName="Название роли" minOccurs="0">
  850. <xs:simpleType>
  851. <xs:restriction base="xs:string">
  852. <xs:maxLength value="50" />
  853. </xs:restriction>
  854. </xs:simpleType>
  855. </xs:element>
  856. </xs:sequence>
  857. </xs:complexType>
  858. </xs:element>
  859. <xs:element name="unit_of_measurement" msprop:Generator_TableClassName="unit_of_measurementDataTable" msprop:Generator_TableVarName="tableunit_of_measurement" msprop:Generator_TablePropName="unit_of_measurement" msprop:Generator_RowDeletingName="unit_of_measurementRowDeleting" msprop:Generator_RowChangingName="unit_of_measurementRowChanging" msprop:Generator_RowEvHandlerName="unit_of_measurementRowChangeEventHandler" msprop:Generator_RowDeletedName="unit_of_measurementRowDeleted" msprop:Generator_UserTableName="unit_of_measurement" msprop:Generator_RowChangedName="unit_of_measurementRowChanged" msprop:Generator_RowEvArgName="unit_of_measurementRowChangeEvent" msprop:Generator_RowClassName="unit_of_measurementRow">
  860. <xs:complexType>
  861. <xs:sequence>
  862. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  863. <xs:element name="название" msprop:Generator_ColumnVarNameInTable="columnназвание" msprop:Generator_ColumnPropNameInRow="название" msprop:Generator_ColumnPropNameInTable="названиеColumn" msprop:Generator_UserColumnName="название" minOccurs="0">
  864. <xs:simpleType>
  865. <xs:restriction base="xs:string">
  866. <xs:maxLength value="50" />
  867. </xs:restriction>
  868. </xs:simpleType>
  869. </xs:element>
  870. </xs:sequence>
  871. </xs:complexType>
  872. </xs:element>
  873. <xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowClassName="UsersRow">
  874. <xs:complexType>
  875. <xs:sequence>
  876. <xs:element name="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
  877. <xs:element name="Username" msprop:Generator_ColumnVarNameInTable="columnUsername" msprop:Generator_ColumnPropNameInRow="Username" msprop:Generator_ColumnPropNameInTable="UsernameColumn" msprop:Generator_UserColumnName="Username" minOccurs="0">
  878. <xs:simpleType>
  879. <xs:restriction base="xs:string">
  880. <xs:maxLength value="50" />
  881. </xs:restriction>
  882. </xs:simpleType>
  883. </xs:element>
  884. <xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password" minOccurs="0">
  885. <xs:simpleType>
  886. <xs:restriction base="xs:string">
  887. <xs:maxLength value="50" />
  888. </xs:restriction>
  889. </xs:simpleType>
  890. </xs:element>
  891. <xs:element name="Role" msprop:Generator_ColumnVarNameInTable="columnRole" msprop:Generator_ColumnPropNameInRow="Role" msprop:Generator_ColumnPropNameInTable="RoleColumn" msprop:Generator_UserColumnName="Role" type="xs:int" minOccurs="0" />
  892. </xs:sequence>
  893. </xs:complexType>
  894. </xs:element>
  895. <xs:element name="Postavka_material" msprop:Generator_TableClassName="Postavka_materialDataTable" msprop:Generator_TableVarName="tablePostavka_material" msprop:Generator_TablePropName="Postavka_material" msprop:Generator_RowDeletingName="Postavka_materialRowDeleting" msprop:Generator_RowChangingName="Postavka_materialRowChanging" msprop:Generator_RowEvHandlerName="Postavka_materialRowChangeEventHandler" msprop:Generator_RowDeletedName="Postavka_materialRowDeleted" msprop:Generator_UserTableName="Postavka_material" msprop:Generator_RowChangedName="Postavka_materialRowChanged" msprop:Generator_RowEvArgName="Postavka_materialRowChangeEvent" msprop:Generator_RowClassName="Postavka_materialRow">
  896. <xs:complexType>
  897. <xs:sequence>
  898. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  899. <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" />
  900. <xs:element name="Дата" msprop:Generator_ColumnVarNameInTable="columnДата" msprop:Generator_ColumnPropNameInRow="Дата" msprop:Generator_ColumnPropNameInTable="ДатаColumn" msprop:Generator_UserColumnName="Дата" type="xs:dateTime" minOccurs="0" />
  901. <xs:element name="Название" msprop:Generator_ColumnVarNameInTable="columnНазвание" msprop:Generator_ColumnPropNameInRow="Название" msprop:Generator_ColumnPropNameInTable="НазваниеColumn" msprop:Generator_UserColumnName="Название" minOccurs="0">
  902. <xs:simpleType>
  903. <xs:restriction base="xs:string">
  904. <xs:maxLength value="150" />
  905. </xs:restriction>
  906. </xs:simpleType>
  907. </xs:element>
  908. <xs:element name="Тип_x0020_материала" msprop:Generator_ColumnVarNameInTable="columnТип_материала" msprop:Generator_ColumnPropNameInRow="Тип_материала" msprop:Generator_ColumnPropNameInTable="Тип_материалаColumn" msprop:Generator_UserColumnName="Тип материала" minOccurs="0">
  909. <xs:simpleType>
  910. <xs:restriction base="xs:string">
  911. <xs:maxLength value="150" />
  912. </xs:restriction>
  913. </xs:simpleType>
  914. </xs:element>
  915. <xs:element name="Количество" msprop:Generator_ColumnVarNameInTable="columnКоличество" msprop:Generator_ColumnPropNameInRow="Количество" msprop:Generator_ColumnPropNameInTable="КоличествоColumn" msprop:Generator_UserColumnName="Количество" type="xs:int" minOccurs="0" />
  916. </xs:sequence>
  917. </xs:complexType>
  918. </xs:element>
  919. </xs:choice>
  920. </xs:complexType>
  921. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  922. <xs:selector xpath=".//mstns:Components" />
  923. <xs:field xpath="mstns:id" />
  924. </xs:unique>
  925. <xs:unique name="computer_assembly_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  926. <xs:selector xpath=".//mstns:computer_assembly" />
  927. <xs:field xpath="mstns:Номер_x0020_сборки" />
  928. </xs:unique>
  929. <xs:unique name="Order_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  930. <xs:selector xpath=".//mstns:Order" />
  931. <xs:field xpath="mstns:Id_заказа" />
  932. </xs:unique>
  933. <xs:unique name="order_by_clients_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  934. <xs:selector xpath=".//mstns:order_by_clients" />
  935. <xs:field xpath="mstns:Номер_x0020_заказа" />
  936. </xs:unique>
  937. <xs:unique name="Order_status_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  938. <xs:selector xpath=".//mstns:Order_status" />
  939. <xs:field xpath="mstns:id" />
  940. </xs:unique>
  941. <xs:unique name="provider_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  942. <xs:selector xpath=".//mstns:provider" />
  943. <xs:field xpath="mstns:id" />
  944. </xs:unique>
  945. <xs:unique name="Role_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  946. <xs:selector xpath=".//mstns:Role" />
  947. <xs:field xpath="mstns:Id" />
  948. </xs:unique>
  949. <xs:unique name="unit_of_measurement_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  950. <xs:selector xpath=".//mstns:unit_of_measurement" />
  951. <xs:field xpath="mstns:id" />
  952. </xs:unique>
  953. <xs:unique name="Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  954. <xs:selector xpath=".//mstns:Users" />
  955. <xs:field xpath="mstns:Id" />
  956. </xs:unique>
  957. <xs:unique name="Postavka_material_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  958. <xs:selector xpath=".//mstns:Postavka_material" />
  959. <xs:field xpath="mstns:id" />
  960. </xs:unique>
  961. </xs:element>
  962. <xs:annotation>
  963. <xs:appinfo>
  964. <msdata:Relationship name="FK_Components_unit_of_measurement" msdata:parent="unit_of_measurement" msdata:child="Components" msdata:parentkey="id" msdata:childkey="Id_x0020_единицы_x0020_измерения" msprop:Generator_UserChildTable="Components" msprop:Generator_ChildPropName="GetComponentsRows" msprop:Generator_UserRelationName="FK_Components_unit_of_measurement" msprop:Generator_RelationVarName="relationFK_Components_unit_of_measurement" msprop:Generator_UserParentTable="unit_of_measurement" msprop:Generator_ParentPropName="unit_of_measurementRow" />
  965. <msdata:Relationship name="FK_Order_order_by_clients" msdata:parent="order_by_clients" msdata:child="Order" msdata:parentkey="Номер_x0020_заказа" msdata:childkey="Номер_x0020_заказа" msprop:Generator_UserChildTable="Order" msprop:Generator_ChildPropName="GetOrderRows" msprop:Generator_UserRelationName="FK_Order_order_by_clients" msprop:Generator_RelationVarName="relationFK_Order_order_by_clients" msprop:Generator_UserParentTable="order_by_clients" msprop:Generator_ParentPropName="order_by_clientsRow" />
  966. <msdata:Relationship name="FK_Order_Order_status" msdata:parent="Order_status" msdata:child="Order" msdata:parentkey="id" msdata:childkey="id_x0020_статуса" msprop:Generator_UserChildTable="Order" msprop:Generator_ChildPropName="GetOrderRows" msprop:Generator_UserRelationName="FK_Order_Order_status" msprop:Generator_RelationVarName="relationFK_Order_Order_status" msprop:Generator_UserParentTable="Order_status" msprop:Generator_ParentPropName="Order_statusRow" />
  967. <msdata:Relationship name="FK_Users_Role" msdata:parent="Role" msdata:child="Users" msdata:parentkey="Id" msdata:childkey="Role" msprop:Generator_UserChildTable="Users" msprop:Generator_ChildPropName="GetUsersRows" msprop:Generator_UserRelationName="FK_Users_Role" msprop:Generator_ParentPropName="RoleRow" msprop:Generator_RelationVarName="relationFK_Users_Role" msprop:Generator_UserParentTable="Role" />
  968. <msdata:Relationship name="FK_Order_computer_assembly" msdata:parent="computer_assembly" msdata:child="Order" msdata:parentkey="Номер_x0020_сборки" msdata:childkey="Номер_x0020_сборки" msprop:Generator_UserChildTable="Order" msprop:Generator_ChildPropName="GetOrderRows" msprop:Generator_UserRelationName="FK_Order_computer_assembly" msprop:Generator_RelationVarName="relationFK_Order_computer_assembly" msprop:Generator_UserParentTable="computer_assembly" msprop:Generator_ParentPropName="computer_assemblyRow" />
  969. <msdata:Relationship name="FK_Postavka_material_provider" msdata:parent="provider" msdata:child="Postavka_material" msdata:parentkey="id" msdata:childkey="id_x0020_производителя" msprop:Generator_UserChildTable="Postavka_material" msprop:Generator_ChildPropName="GetPostavka_materialRows" msprop:Generator_UserRelationName="FK_Postavka_material_provider" msprop:Generator_ParentPropName="providerRow" msprop:Generator_RelationVarName="relationFK_Postavka_material_provider" msprop:Generator_UserParentTable="provider" />
  970. </xs:appinfo>
  971. </xs:annotation>
  972. </xs:schema>