<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Rp42IvanovaDataSet" targetNamespace="http://tempuri.org/Rp42IvanovaDataSet.xsd" xmlns:mstns="http://tempuri.org/Rp42IvanovaDataSet.xsd" xmlns="http://tempuri.org/Rp42IvanovaDataSet.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="Rp42IvanovaConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Rp42IvanovaConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Rp42Ivanova.Properties.Settings.GlobalReference.Default.Rp42IvanovaConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="manufacturerTableAdapter" GeneratorDataComponentClassName="manufacturerTableAdapter" Name="manufacturer" UserDataComponentName="manufacturerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Rp42IvanovaConnectionString (Settings)" DbObjectName="Rp42Ivanova.dbo.manufacturer" 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">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[manufacturer] ([Название_производителя], [Дата_начала_работы]) VALUES (@Название_производителя, @Дата_начала_работы)</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="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_начала_работы" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_начала_работы" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Название_производителя, Дата_начала_работы FROM dbo.manufacturer</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Название_производителя" DataSetColumn="Название_производителя" />
              <Mapping SourceColumn="Дата_начала_работы" DataSetColumn="Дата_начала_работы" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="productTableAdapter" GeneratorDataComponentClassName="productTableAdapter" Name="product" UserDataComponentName="productTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Rp42IvanovaConnectionString (Settings)" DbObjectName="Rp42Ivanova.dbo.product" 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">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[product] ([Наименование_товара], [Главное_изображение], [Производитель], [Активен], [Цена]) VALUES (@Наименование_товара, @Главное_изображение, @Производитель, @Активен, @Цена)</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="false" 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="@Производитель" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Производитель" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <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="false" 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</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Наименование_товара" DataSetColumn="Наименование_товара" />
              <Mapping SourceColumn="Главное_изображение" DataSetColumn="Главное_изображение" />
              <Mapping SourceColumn="Производитель" DataSetColumn="Производитель" />
              <Mapping SourceColumn="Активен" DataSetColumn="Активен" />
              <Mapping SourceColumn="Цена" DataSetColumn="Цена" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="productsaleTableAdapter" GeneratorDataComponentClassName="productsaleTableAdapter" Name="productsale" UserDataComponentName="productsaleTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Rp42IvanovaConnectionString (Settings)" DbObjectName="Rp42Ivanova.dbo.productsale" 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">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[productsale] ([Товар], [Количество], [Дата_и_время_продажи]) VALUES (@Товар, @Количество, @Дата_и_время_продажи)</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="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Количество" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Количество" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_и_время_продажи" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_и_время_продажи" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Товар, Количество, Дата_и_время_продажи FROM dbo.productsale</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Товар" DataSetColumn="Товар" />
              <Mapping SourceColumn="Количество" DataSetColumn="Количество" />
              <Mapping SourceColumn="Дата_и_время_продажи" DataSetColumn="Дата_и_время_продажи" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Rp42IvanovaDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="Rp42IvanovaDataSet" msprop:Generator_UserDSName="Rp42IvanovaDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="manufacturer" msprop:Generator_TableClassName="manufacturerDataTable" msprop:Generator_TableVarName="tablemanufacturer" msprop:Generator_TablePropName="manufacturer" msprop:Generator_RowDeletingName="manufacturerRowDeleting" msprop:Generator_RowChangingName="manufacturerRowChanging" msprop:Generator_RowEvHandlerName="manufacturerRowChangeEventHandler" msprop:Generator_RowDeletedName="manufacturerRowDeleted" msprop:Generator_UserTableName="manufacturer" msprop:Generator_RowChangedName="manufacturerRowChanged" msprop:Generator_RowEvArgName="manufacturerRowChangeEvent" msprop:Generator_RowClassName="manufacturerRow">
          <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="Дата_начала_работы" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="product" msprop:Generator_TableClassName="productDataTable" msprop:Generator_TableVarName="tableproduct" msprop:Generator_TablePropName="product" msprop:Generator_RowDeletingName="productRowDeleting" msprop:Generator_RowChangingName="productRowChanging" msprop:Generator_RowEvHandlerName="productRowChangeEventHandler" msprop:Generator_RowDeletedName="productRowDeleted" msprop:Generator_UserTableName="product" msprop:Generator_RowChangedName="productRowChanged" msprop:Generator_RowEvArgName="productRowChangeEvent" msprop:Generator_RowClassName="productRow">
          <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="Главное_изображение">
                <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="Производитель">
                <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="Активен">
                <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="Цена">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="productsale" msprop:Generator_TableClassName="productsaleDataTable" msprop:Generator_TableVarName="tableproductsale" msprop:Generator_TablePropName="productsale" msprop:Generator_RowDeletingName="productsaleRowDeleting" msprop:Generator_RowChangingName="productsaleRowChanging" msprop:Generator_RowEvHandlerName="productsaleRowChangeEventHandler" msprop:Generator_RowDeletedName="productsaleRowDeleted" msprop:Generator_UserTableName="productsale" msprop:Generator_RowChangedName="productsaleRowChanged" msprop:Generator_RowEvArgName="productsaleRowChangeEvent" msprop:Generator_RowClassName="productsaleRow">
          <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="Количество" type="xs:unsignedByte" />
              <xs:element name="Дата_и_время_продажи" msprop:Generator_ColumnVarNameInTable="columnДата_и_время_продажи" msprop:Generator_ColumnPropNameInRow="Дата_и_время_продажи" msprop:Generator_ColumnPropNameInTable="Дата_и_время_продажиColumn" msprop:Generator_UserColumnName="Дата_и_время_продажи" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>