123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <?xml version="1.0" encoding="utf-8"?>
- <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">
- <xs:annotation>
- <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
- <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
- <Connections>
- <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" />
- </Connections>
- <Tables>
- <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">
- <MainSource>
- <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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Наименование_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Главное_изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Активен" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Активен" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Активен" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Активен" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[product_b_import1] ([Наименование_товара], [Главное_изображение], [Производитель], [Активен], [Цена]) VALUES (@Наименование_товара, @Главное_изображение, @Производитель, @Активен, @Цена);
- SELECT Наименование_товара, Главное_изображение, Производитель, Активен, Цена FROM product_b_import1 WHERE (Наименование_товара = @Наименование_товара)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Наименование_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Активен" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Активен" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT Наименование_товара, Главное_изображение, Производитель, Активен, Цена FROM dbo.product_b_import1</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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_Цена)));
- SELECT Наименование_товара, Главное_изображение, Производитель, Активен, Цена FROM product_b_import1 WHERE (Наименование_товара = @Наименование_товара)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Наименование_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Активен" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Активен" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Цена" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Наименование_товара" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Главное_изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Производитель" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Активен" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Активен" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Активен" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Активен" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Цена" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Цена" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Цена" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Наименование_товара" DataSetColumn="Наименование_товара" />
- <Mapping SourceColumn="Главное_изображение" DataSetColumn="Главное_изображение" />
- <Mapping SourceColumn="Производитель" DataSetColumn="Производитель" />
- <Mapping SourceColumn="Активен" DataSetColumn="Активен" />
- <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="PasechnikovRomanYurevich_ISPDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="PasechnikovRomanYurevich_ISPDataSet" msprop:Generator_UserDSName="PasechnikovRomanYurevich_ISPDataSet">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <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">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Наименование_товара" msprop:Generator_ColumnVarNameInTable="columnНаименование_товара" msprop:Generator_ColumnPropNameInRow="Наименование_товара" msprop:Generator_ColumnPropNameInTable="Наименование_товараColumn" msprop:Generator_UserColumnName="Наименование_товара">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Главное_изображение" msprop:Generator_ColumnVarNameInTable="columnГлавное_изображение" msprop:Generator_ColumnPropNameInRow="Главное_изображение" msprop:Generator_ColumnPropNameInTable="Главное_изображениеColumn" msprop:Generator_UserColumnName="Главное_изображение" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Производитель" msprop:Generator_ColumnVarNameInTable="columnПроизводитель" msprop:Generator_ColumnPropNameInRow="Производитель" msprop:Generator_ColumnPropNameInTable="ПроизводительColumn" msprop:Generator_UserColumnName="Производитель" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Активен" msprop:Generator_ColumnVarNameInTable="columnАктивен" msprop:Generator_ColumnPropNameInRow="Активен" msprop:Generator_ColumnPropNameInTable="АктивенColumn" msprop:Generator_UserColumnName="Активен" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Цена" msprop:Generator_ColumnVarNameInTable="columnЦена" msprop:Generator_ColumnPropNameInRow="Цена" msprop:Generator_ColumnPropNameInTable="ЦенаColumn" msprop:Generator_UserColumnName="Цена" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:product_b_import1" />
- <xs:field xpath="mstns:Наименование_товара" />
- </xs:unique>
- </xs:element>
- </xs:schema>
|