PasechnikovRomanYurevich_ISPDataSet.xsd 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="PasechnikovRomanYurevich_ISPDataSet" targetNamespace="http://tempuri.org/PasechnikovRomanYurevich_ISPDataSet.xsd" xmlns:mstns="http://tempuri.org/PasechnikovRomanYurevich_ISPDataSet.xsd" xmlns="http://tempuri.org/PasechnikovRomanYurevich_ISPDataSet.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="PasechnikovRomanYurevich_ISPConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="PasechnikovRomanYurevich_ISPConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.PasechnikovRomanYurevch_ISP.Properties.Settings.GlobalReference.Default.PasechnikovRomanYurevich_ISPConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="product_b_import1TableAdapter" GeneratorDataComponentClassName="product_b_import1TableAdapter" Name="product_b_import1" UserDataComponentName="product_b_import1TableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="PasechnikovRomanYurevich_ISPConnectionString (Settings)" DbObjectName="PasechnikovRomanYurevich_ISP.dbo.product_b_import1" 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].[product_b_import1] WHERE (([Наименование_товара] = @Original_Наименование_товара) AND ((@IsNull_Главное_изображение = 1 AND [Главное_изображение] IS NULL) OR ([Главное_изображение] = @Original_Главное_изображение)) AND ((@IsNull_Производитель = 1 AND [Производитель] IS NULL) OR ([Производитель] = @Original_Производитель)) AND ((@IsNull_Активен = 1 AND [Активен] IS NULL) OR ([Активен] = @Original_Активен)) AND ((@IsNull_Цена = 1 AND [Цена] IS NULL) OR ([Цена] = @Original_Цена)))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Наименование_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Главное_изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Производитель" 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="String" Direction="Input" ParameterName="@Original_Активен" Precision="0" ProviderType="NVarChar" 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="String" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="NVarChar" 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].[product_b_import1] ([Наименование_товара], [Главное_изображение], [Производитель], [Активен], [Цена]) VALUES (@Наименование_товара, @Главное_изображение, @Производитель, @Активен, @Цена);
  32. SELECT Наименование_товара, Главное_изображение, Производитель, Активен, Цена FROM product_b_import1 WHERE (Наименование_товара = @Наименование_товара)</CommandText>
  33. <Parameters>
  34. <Parameter AllowDbNull="false" 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="String" Direction="Input" ParameterName="@Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" 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="String" Direction="Input" ParameterName="@Активен" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Активен" SourceColumnNullMapping="false" SourceVersion="Current" />
  38. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="NVarChar" 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 Наименование_товара, Главное_изображение, Производитель, Активен, Цена FROM dbo.product_b_import1</CommandText>
  45. <Parameters />
  46. </DbCommand>
  47. </SelectCommand>
  48. <UpdateCommand>
  49. <DbCommand CommandType="Text" ModifiedByUser="false">
  50. <CommandText>UPDATE [dbo].[product_b_import1] SET [Наименование_товара] = @Наименование_товара, [Главное_изображение] = @Главное_изображение, [Производитель] = @Производитель, [Активен] = @Активен, [Цена] = @Цена WHERE (([Наименование_товара] = @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_Цена)));
  51. SELECT Наименование_товара, Главное_изображение, Производитель, Активен, Цена FROM product_b_import1 WHERE (Наименование_товара = @Наименование_товара)</CommandText>
  52. <Parameters>
  53. <Parameter AllowDbNull="false" 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="String" Direction="Input" ParameterName="@Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" 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="String" Direction="Input" ParameterName="@Активен" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Активен" SourceColumnNullMapping="false" SourceVersion="Current" />
  57. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
  58. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Наименование_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  59. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Главное_изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
  60. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" 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="String" Direction="Input" ParameterName="@Original_Активен" Precision="0" ProviderType="NVarChar" 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="String" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
  67. </Parameters>
  68. </DbCommand>
  69. </UpdateCommand>
  70. </DbSource>
  71. </MainSource>
  72. <Mappings>
  73. <Mapping SourceColumn="Наименование_товара" DataSetColumn="Наименование_товара" />
  74. <Mapping SourceColumn="Главное_изображение" DataSetColumn="Главное_изображение" />
  75. <Mapping SourceColumn="Производитель" DataSetColumn="Производитель" />
  76. <Mapping SourceColumn="Активен" DataSetColumn="Активен" />
  77. <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
  78. </Mappings>
  79. <Sources />
  80. </TableAdapter>
  81. </Tables>
  82. <Sources />
  83. </DataSource>
  84. </xs:appinfo>
  85. </xs:annotation>
  86. <xs:element name="PasechnikovRomanYurevich_ISPDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="PasechnikovRomanYurevich_ISPDataSet" msprop:Generator_UserDSName="PasechnikovRomanYurevich_ISPDataSet">
  87. <xs:complexType>
  88. <xs:choice minOccurs="0" maxOccurs="unbounded">
  89. <xs:element name="product_b_import1" msprop:Generator_TableClassName="product_b_import1DataTable" msprop:Generator_TableVarName="tableproduct_b_import1" msprop:Generator_TablePropName="product_b_import1" msprop:Generator_RowDeletingName="product_b_import1RowDeleting" msprop:Generator_RowChangingName="product_b_import1RowChanging" msprop:Generator_RowEvHandlerName="product_b_import1RowChangeEventHandler" msprop:Generator_RowDeletedName="product_b_import1RowDeleted" msprop:Generator_UserTableName="product_b_import1" msprop:Generator_RowChangedName="product_b_import1RowChanged" msprop:Generator_RowEvArgName="product_b_import1RowChangeEvent" msprop:Generator_RowClassName="product_b_import1Row">
  90. <xs:complexType>
  91. <xs:sequence>
  92. <xs:element name="Наименование_товара" msprop:Generator_ColumnVarNameInTable="columnНаименование_товара" msprop:Generator_ColumnPropNameInRow="Наименование_товара" msprop:Generator_ColumnPropNameInTable="Наименование_товараColumn" msprop:Generator_UserColumnName="Наименование_товара">
  93. <xs:simpleType>
  94. <xs:restriction base="xs:string">
  95. <xs:maxLength value="100" />
  96. </xs:restriction>
  97. </xs:simpleType>
  98. </xs:element>
  99. <xs:element name="Главное_изображение" msprop:Generator_ColumnVarNameInTable="columnГлавное_изображение" msprop:Generator_ColumnPropNameInRow="Главное_изображение" msprop:Generator_ColumnPropNameInTable="Главное_изображениеColumn" msprop:Generator_UserColumnName="Главное_изображение" minOccurs="0">
  100. <xs:simpleType>
  101. <xs:restriction base="xs:string">
  102. <xs:maxLength value="50" />
  103. </xs:restriction>
  104. </xs:simpleType>
  105. </xs:element>
  106. <xs:element name="Производитель" msprop:Generator_ColumnVarNameInTable="columnПроизводитель" msprop:Generator_ColumnPropNameInRow="Производитель" msprop:Generator_ColumnPropNameInTable="ПроизводительColumn" msprop:Generator_UserColumnName="Производитель" minOccurs="0">
  107. <xs:simpleType>
  108. <xs:restriction base="xs:string">
  109. <xs:maxLength value="50" />
  110. </xs:restriction>
  111. </xs:simpleType>
  112. </xs:element>
  113. <xs:element name="Активен" msprop:Generator_ColumnVarNameInTable="columnАктивен" msprop:Generator_ColumnPropNameInRow="Активен" msprop:Generator_ColumnPropNameInTable="АктивенColumn" msprop:Generator_UserColumnName="Активен" minOccurs="0">
  114. <xs:simpleType>
  115. <xs:restriction base="xs:string">
  116. <xs:maxLength value="50" />
  117. </xs:restriction>
  118. </xs:simpleType>
  119. </xs:element>
  120. <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" minOccurs="0">
  121. <xs:simpleType>
  122. <xs:restriction base="xs:string">
  123. <xs:maxLength value="50" />
  124. </xs:restriction>
  125. </xs:simpleType>
  126. </xs:element>
  127. </xs:sequence>
  128. </xs:complexType>
  129. </xs:element>
  130. </xs:choice>
  131. </xs:complexType>
  132. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  133. <xs:selector xpath=".//mstns:product_b_import1" />
  134. <xs:field xpath="mstns:Наименование_товара" />
  135. </xs:unique>
  136. </xs:element>
  137. </xs:schema>