<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MyShopDataSet" targetNamespace="http://tempuri.org/MyShopDataSet1.xsd" xmlns:mstns="http://tempuri.org/MyShopDataSet1.xsd" xmlns="http://tempuri.org/MyShopDataSet1.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="MyShopConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="MyShopConnectionString1 (Settings)" PropertyReference="ApplicationSettings.MyShop.Properties.Settings.GlobalReference.Default.MyShopConnectionString1" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomersTableAdapter" GeneratorDataComponentClassName="CustomersTableAdapter" Name="Customers" UserDataComponentName="CustomersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MyShopConnectionString1 (Settings)" DbObjectName="Customers" 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 `Customers` WHERE ((`CustomerCode` = ?) AND ((? = 1 AND `CustomerFirstName` IS NULL) OR (`CustomerFirstName` = ?)) AND ((? = 1 AND `CustomerLastName` IS NULL) OR (`CustomerLastName` = ?)) AND ((? = 1 AND `CustomerMobile` IS NULL) OR (`CustomerMobile` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_CustomerCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerFirstName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerFirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CustomerFirstName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerFirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerLastName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerLastName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CustomerLastName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerLastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerMobile" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerMobile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CustomerMobile" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerMobile" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `Customers` (`CustomerFirstName`, `CustomerLastName`, `CustomerMobile`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CustomerFirstName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerFirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CustomerLastName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerLastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CustomerMobile" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerMobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerCode, CustomerFirstName, CustomerLastName, CustomerMobile FROM Customers</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `Customers` SET `CustomerFirstName` = ?, `CustomerLastName` = ?, `CustomerMobile` = ? WHERE ((`CustomerCode` = ?) AND ((? = 1 AND `CustomerFirstName` IS NULL) OR (`CustomerFirstName` = ?)) AND ((? = 1 AND `CustomerLastName` IS NULL) OR (`CustomerLastName` = ?)) AND ((? = 1 AND `CustomerMobile` IS NULL) OR (`CustomerMobile` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CustomerFirstName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerFirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CustomerLastName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerLastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="CustomerMobile" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerMobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_CustomerCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerFirstName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerFirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CustomerFirstName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerFirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerLastName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerLastName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CustomerLastName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerLastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerMobile" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerMobile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_CustomerMobile" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="CustomerMobile" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerCode" DataSetColumn="CustomerCode" />
              <Mapping SourceColumn="CustomerFirstName" DataSetColumn="CustomerFirstName" />
              <Mapping SourceColumn="CustomerLastName" DataSetColumn="CustomerLastName" />
              <Mapping SourceColumn="CustomerMobile" DataSetColumn="CustomerMobile" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FactorItemsTableAdapter" GeneratorDataComponentClassName="FactorItemsTableAdapter" Name="FactorItems" UserDataComponentName="FactorItemsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MyShopConnectionString1 (Settings)" DbObjectName="FactorItems" 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 `FactorItems` WHERE (((? = 1 AND `FactorCode` IS NULL) OR (`FactorCode` = ?)) AND (`GoodsCode` = ?) AND ((? = 1 AND `GoodsAmount` IS NULL) OR (`GoodsAmount` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_FactorCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_FactorCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GoodsAmount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsAmount" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsAmount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `FactorItems` (`FactorCode`, `GoodsCode`, `GoodsAmount`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="FactorCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="GoodsCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="GoodsAmount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT FactorCode, GoodsCode, GoodsAmount FROM FactorItems</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `FactorItems` SET `FactorCode` = ?, `GoodsCode` = ?, `GoodsAmount` = ? WHERE (((? = 1 AND `FactorCode` IS NULL) OR (`FactorCode` = ?)) AND (`GoodsCode` = ?) AND ((? = 1 AND `GoodsAmount` IS NULL) OR (`GoodsAmount` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="FactorCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="GoodsCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="GoodsAmount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_FactorCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_FactorCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GoodsAmount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsAmount" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsAmount" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FactorCode" DataSetColumn="FactorCode" />
              <Mapping SourceColumn="GoodsCode" DataSetColumn="GoodsCode" />
              <Mapping SourceColumn="GoodsAmount" DataSetColumn="GoodsAmount" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FactorsTableAdapter" GeneratorDataComponentClassName="FactorsTableAdapter" Name="Factors" UserDataComponentName="FactorsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MyShopConnectionString1 (Settings)" DbObjectName="Factors" 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 `Factors` WHERE ((`FactorCode` = ?) AND ((? = 1 AND `CustomerCode` IS NULL) OR (`CustomerCode` = ?)) AND ((? = 1 AND `FactorDate` IS NULL) OR (`FactorDate` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_FactorCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_CustomerCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_FactorDate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_FactorDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="FactorDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `Factors` (`CustomerCode`, `FactorDate`) VALUES (?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="CustomerCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="FactorDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="FactorDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT FactorCode, CustomerCode, FactorDate FROM Factors</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `Factors` SET `CustomerCode` = ?, `FactorDate` = ? WHERE ((`FactorCode` = ?) AND ((? = 1 AND `CustomerCode` IS NULL) OR (`CustomerCode` = ?)) AND ((? = 1 AND `FactorDate` IS NULL) OR (`FactorDate` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="CustomerCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="FactorDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="FactorDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_FactorCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CustomerCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_CustomerCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_FactorDate" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FactorDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_FactorDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="FactorDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FactorCode" DataSetColumn="FactorCode" />
              <Mapping SourceColumn="CustomerCode" DataSetColumn="CustomerCode" />
              <Mapping SourceColumn="FactorDate" DataSetColumn="FactorDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GoodsTableAdapter" GeneratorDataComponentClassName="GoodsTableAdapter" Name="Goods" UserDataComponentName="GoodsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MyShopConnectionString1 (Settings)" DbObjectName="Goods" 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 `Goods` WHERE ((`GoodsCode` = ?) AND ((? = 1 AND `GoodsName` IS NULL) OR (`GoodsName` = ?)) AND ((? = 1 AND `GoodsUnitPrice` IS NULL) OR (`GoodsUnitPrice` = ?)) AND ((? = 1 AND `GoodsStock` IS NULL) OR (`GoodsStock` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GoodsName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_GoodsName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GoodsName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GoodsUnitPrice" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsUnitPrice" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsUnitPrice" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsUnitPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GoodsStock" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsStock" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsStock" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsStock" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `Goods` (`GoodsName`, `GoodsUnitPrice`, `GoodsStock`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="GoodsName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GoodsName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="GoodsUnitPrice" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsUnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="GoodsStock" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsStock" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT GoodsCode, GoodsName, GoodsUnitPrice, GoodsStock FROM Goods</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `Goods` SET `GoodsName` = ?, `GoodsUnitPrice` = ?, `GoodsStock` = ? WHERE ((`GoodsCode` = ?) AND ((? = 1 AND `GoodsName` IS NULL) OR (`GoodsName` = ?)) AND ((? = 1 AND `GoodsUnitPrice` IS NULL) OR (`GoodsUnitPrice` = ?)) AND ((? = 1 AND `GoodsStock` IS NULL) OR (`GoodsStock` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="GoodsName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GoodsName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="GoodsUnitPrice" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsUnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="GoodsStock" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsStock" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GoodsName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_GoodsName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="GoodsName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GoodsUnitPrice" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsUnitPrice" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsUnitPrice" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsUnitPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_GoodsStock" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsStock" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_GoodsStock" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="GoodsStock" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="GoodsCode" DataSetColumn="GoodsCode" />
              <Mapping SourceColumn="GoodsName" DataSetColumn="GoodsName" />
              <Mapping SourceColumn="GoodsUnitPrice" DataSetColumn="GoodsUnitPrice" />
              <Mapping SourceColumn="GoodsStock" DataSetColumn="GoodsStock" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MyShopConnectionString1 (Settings)" DbObjectName="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">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `Users` WHERE ((`UserCode` = ?) AND ((? = 1 AND `Username` IS NULL) OR (`Username` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_UserCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="UserCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Username" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Username" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `Users` (`Username`, `Password`) VALUES (?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Username" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Password" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT UserCode, Username, [Password] FROM Users</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `Users` SET `Username` = ?, `Password` = ? WHERE ((`UserCode` = ?) AND ((? = 1 AND `Username` IS NULL) OR (`Username` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Username" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Password" Precision="0" ProviderType="LongVarWChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_UserCode" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="UserCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Username" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Username" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UserCode" DataSetColumn="UserCode" />
              <Mapping SourceColumn="Username" DataSetColumn="Username" />
              <Mapping SourceColumn="Password" DataSetColumn="Password" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="MyShopDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="MyShopDataSet" msprop:Generator_UserDSName="MyShopDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Customers" msprop:Generator_TableClassName="CustomersDataTable" msprop:Generator_TableVarName="tableCustomers" msprop:Generator_TablePropName="Customers" msprop:Generator_RowDeletingName="CustomersRowDeleting" msprop:Generator_RowChangingName="CustomersRowChanging" msprop:Generator_RowEvHandlerName="CustomersRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomersRowDeleted" msprop:Generator_UserTableName="Customers" msprop:Generator_RowChangedName="CustomersRowChanged" msprop:Generator_RowEvArgName="CustomersRowChangeEvent" msprop:Generator_RowClassName="CustomersRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerCode" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnCustomerCode" msprop:Generator_ColumnPropNameInRow="CustomerCode" msprop:Generator_ColumnPropNameInTable="CustomerCodeColumn" msprop:Generator_UserColumnName="CustomerCode" type="xs:int" />
              <xs:element name="CustomerFirstName" msprop:Generator_ColumnVarNameInTable="columnCustomerFirstName" msprop:Generator_ColumnPropNameInRow="CustomerFirstName" msprop:Generator_ColumnPropNameInTable="CustomerFirstNameColumn" msprop:Generator_UserColumnName="CustomerFirstName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerLastName" msprop:Generator_ColumnVarNameInTable="columnCustomerLastName" msprop:Generator_ColumnPropNameInRow="CustomerLastName" msprop:Generator_ColumnPropNameInTable="CustomerLastNameColumn" msprop:Generator_UserColumnName="CustomerLastName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerMobile" msprop:Generator_ColumnVarNameInTable="columnCustomerMobile" msprop:Generator_ColumnPropNameInRow="CustomerMobile" msprop:Generator_ColumnPropNameInTable="CustomerMobileColumn" msprop:Generator_UserColumnName="CustomerMobile" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FactorItems" msprop:Generator_TableClassName="FactorItemsDataTable" msprop:Generator_TableVarName="tableFactorItems" msprop:Generator_TablePropName="FactorItems" msprop:Generator_RowDeletingName="FactorItemsRowDeleting" msprop:Generator_RowChangingName="FactorItemsRowChanging" msprop:Generator_RowEvHandlerName="FactorItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="FactorItemsRowDeleted" msprop:Generator_UserTableName="FactorItems" msprop:Generator_RowChangedName="FactorItemsRowChanged" msprop:Generator_RowEvArgName="FactorItemsRowChangeEvent" msprop:Generator_RowClassName="FactorItemsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FactorCode" msprop:Generator_ColumnVarNameInTable="columnFactorCode" msprop:Generator_ColumnPropNameInRow="FactorCode" msprop:Generator_ColumnPropNameInTable="FactorCodeColumn" msprop:Generator_UserColumnName="FactorCode" type="xs:int" minOccurs="0" />
              <xs:element name="GoodsCode" msprop:Generator_ColumnVarNameInTable="columnGoodsCode" msprop:Generator_ColumnPropNameInRow="GoodsCode" msprop:Generator_ColumnPropNameInTable="GoodsCodeColumn" msprop:Generator_UserColumnName="GoodsCode" type="xs:int" />
              <xs:element name="GoodsAmount" msprop:Generator_ColumnVarNameInTable="columnGoodsAmount" msprop:Generator_ColumnPropNameInRow="GoodsAmount" msprop:Generator_ColumnPropNameInTable="GoodsAmountColumn" msprop:Generator_UserColumnName="GoodsAmount" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Factors" msprop:Generator_TableClassName="FactorsDataTable" msprop:Generator_TableVarName="tableFactors" msprop:Generator_TablePropName="Factors" msprop:Generator_RowDeletingName="FactorsRowDeleting" msprop:Generator_RowChangingName="FactorsRowChanging" msprop:Generator_RowEvHandlerName="FactorsRowChangeEventHandler" msprop:Generator_RowDeletedName="FactorsRowDeleted" msprop:Generator_UserTableName="Factors" msprop:Generator_RowChangedName="FactorsRowChanged" msprop:Generator_RowEvArgName="FactorsRowChangeEvent" msprop:Generator_RowClassName="FactorsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FactorCode" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnFactorCode" msprop:Generator_ColumnPropNameInRow="FactorCode" msprop:Generator_ColumnPropNameInTable="FactorCodeColumn" msprop:Generator_UserColumnName="FactorCode" type="xs:int" />
              <xs:element name="CustomerCode" msprop:Generator_ColumnVarNameInTable="columnCustomerCode" msprop:Generator_ColumnPropNameInRow="CustomerCode" msprop:Generator_ColumnPropNameInTable="CustomerCodeColumn" msprop:Generator_UserColumnName="CustomerCode" type="xs:int" minOccurs="0" />
              <xs:element name="FactorDate" msprop:Generator_ColumnVarNameInTable="columnFactorDate" msprop:Generator_ColumnPropNameInRow="FactorDate" msprop:Generator_ColumnPropNameInTable="FactorDateColumn" msprop:Generator_UserColumnName="FactorDate" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Goods" msprop:Generator_TableClassName="GoodsDataTable" msprop:Generator_TableVarName="tableGoods" msprop:Generator_TablePropName="Goods" msprop:Generator_RowDeletingName="GoodsRowDeleting" msprop:Generator_RowChangingName="GoodsRowChanging" msprop:Generator_RowEvHandlerName="GoodsRowChangeEventHandler" msprop:Generator_RowDeletedName="GoodsRowDeleted" msprop:Generator_UserTableName="Goods" msprop:Generator_RowChangedName="GoodsRowChanged" msprop:Generator_RowEvArgName="GoodsRowChangeEvent" msprop:Generator_RowClassName="GoodsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="GoodsCode" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnGoodsCode" msprop:Generator_ColumnPropNameInRow="GoodsCode" msprop:Generator_ColumnPropNameInTable="GoodsCodeColumn" msprop:Generator_UserColumnName="GoodsCode" type="xs:int" />
              <xs:element name="GoodsName" msprop:Generator_ColumnVarNameInTable="columnGoodsName" msprop:Generator_ColumnPropNameInRow="GoodsName" msprop:Generator_ColumnPropNameInTable="GoodsNameColumn" msprop:Generator_UserColumnName="GoodsName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="GoodsUnitPrice" msprop:Generator_ColumnVarNameInTable="columnGoodsUnitPrice" msprop:Generator_ColumnPropNameInRow="GoodsUnitPrice" msprop:Generator_ColumnPropNameInTable="GoodsUnitPriceColumn" msprop:Generator_UserColumnName="GoodsUnitPrice" type="xs:int" minOccurs="0" />
              <xs:element name="GoodsStock" msprop:Generator_ColumnVarNameInTable="columnGoodsStock" msprop:Generator_ColumnPropNameInRow="GoodsStock" msprop:Generator_ColumnPropNameInTable="GoodsStockColumn" msprop:Generator_UserColumnName="GoodsStock" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <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">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserCode" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnUserCode" msprop:Generator_ColumnPropNameInRow="UserCode" msprop:Generator_ColumnPropNameInTable="UserCodeColumn" msprop:Generator_UserColumnName="UserCode" type="xs:int" />
              <xs:element name="Username" msprop:Generator_ColumnVarNameInTable="columnUsername" msprop:Generator_ColumnPropNameInRow="Username" msprop:Generator_ColumnPropNameInTable="UsernameColumn" msprop:Generator_UserColumnName="Username" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="536870910" />
                  </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:Customers" />
      <xs:field xpath="mstns:CustomerCode" />
    </xs:unique>
    <xs:unique name="FactorItems_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FactorItems" />
      <xs:field xpath="mstns:GoodsCode" />
    </xs:unique>
    <xs:unique name="Factors_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Factors" />
      <xs:field xpath="mstns:FactorCode" />
    </xs:unique>
    <xs:unique name="Goods_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Goods" />
      <xs:field xpath="mstns:GoodsCode" />
    </xs:unique>
    <xs:unique name="Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Users" />
      <xs:field xpath="mstns:UserCode" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FactorsFactorItems" msdata:parent="Factors" msdata:child="FactorItems" msdata:parentkey="FactorCode" msdata:childkey="FactorCode" msprop:Generator_UserChildTable="FactorItems" msprop:Generator_ChildPropName="GetFactorItemsRows" msprop:Generator_UserRelationName="FactorsFactorItems" msprop:Generator_RelationVarName="relationFactorsFactorItems" msprop:Generator_UserParentTable="Factors" msprop:Generator_ParentPropName="FactorsRow" />
      <msdata:Relationship name="GoodsFactorItems" msdata:parent="Goods" msdata:child="FactorItems" msdata:parentkey="GoodsCode" msdata:childkey="GoodsCode" msprop:Generator_UserChildTable="FactorItems" msprop:Generator_ChildPropName="GetFactorItemsRows" msprop:Generator_UserRelationName="GoodsFactorItems" msprop:Generator_RelationVarName="relationGoodsFactorItems" msprop:Generator_UserParentTable="Goods" msprop:Generator_ParentPropName="GoodsRow" />
      <msdata:Relationship name="CustomersFactors" msdata:parent="Customers" msdata:child="Factors" msdata:parentkey="CustomerCode" msdata:childkey="CustomerCode" msprop:Generator_UserChildTable="Factors" msprop:Generator_ChildPropName="GetFactorsRows" msprop:Generator_UserRelationName="CustomersFactors" msprop:Generator_ParentPropName="CustomersRow" msprop:Generator_RelationVarName="relationCustomersFactors" msprop:Generator_UserParentTable="Customers" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>