﻿<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) Stichting Deltares 2018. All rights reserved.

This file is part of the DAM - Clients Library.

The DAM - UI is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

All names, logos, and references to "Deltares" are registered trademarks of
Stichting Deltares and remain full property of Stichting Deltares at all times.
All rights reserved.
-->
<xs:schema id="SoilbaseDataSet" targetNamespace="http://tempuri.org/SoilbaseDataSet.xsd" xmlns:mstns="http://tempuri.org/SoilbaseDataSet.xsd" xmlns="http://tempuri.org/SoilbaseDataSet.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 ConnectionStringObject="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&quot;D:\DelphiWin32Projects\Trunk\MSoilbase\Install Version\Examples\Case A15.mdb&quot;" IsAppSettingsProperty="false" Modifier="Assembly" Name="Case A15ConnectionString" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MATERIALSTableAdapter" GeneratorDataComponentClassName="MATERIALSTableAdapter" Name="MATERIALS" UserDataComponentName="MATERIALSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Case A15ConnectionString" DbObjectName="MATERIALS" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `MATERIALS` WHERE ((`MA_NR` = ?) AND ((? = 1 AND `MA_NAME` IS NULL) OR (`MA_NAME` = ?)) AND ((? = 1 AND `MA_DESCR` IS NULL) OR (`MA_DESCR` = ?)) AND ((? = 1 AND `MA_INDEX` IS NULL) OR (`MA_INDEX` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_MA_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_MA_NAME" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="Original_MA_NAME" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="MA_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_MA_DESCR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_DESCR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="Original_MA_DESCR" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="MA_DESCR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_MA_INDEX" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_INDEX" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_MA_INDEX" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_INDEX" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `MATERIALS` (`MA_NAME`, `MA_DESCR`, `MA_INDEX`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="MA_NAME" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="MA_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="MA_DESCR" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="MA_DESCR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="MA_INDEX" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_INDEX" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT MA_NR, MA_NAME, MA_DESCR, MA_INDEX FROM MATERIALS</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `MATERIALS` SET `MA_NAME` = ?, `MA_DESCR` = ?, `MA_INDEX` = ? WHERE ((`MA_NR` = ?) AND ((? = 1 AND `MA_NAME` IS NULL) OR (`MA_NAME` = ?)) AND ((? = 1 AND `MA_DESCR` IS NULL) OR (`MA_DESCR` = ?)) AND ((? = 1 AND `MA_INDEX` IS NULL) OR (`MA_INDEX` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="MA_NAME" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="MA_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="MA_DESCR" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="MA_DESCR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="MA_INDEX" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_INDEX" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_MA_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_MA_NAME" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="Original_MA_NAME" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="MA_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_MA_DESCR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_DESCR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="Original_MA_DESCR" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="MA_DESCR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_MA_INDEX" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_INDEX" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_MA_INDEX" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_INDEX" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="MA_NR" DataSetColumn="MA_NR" />
              <Mapping SourceColumn="MA_NAME" DataSetColumn="MA_NAME" />
              <Mapping SourceColumn="MA_DESCR" DataSetColumn="MA_DESCR" />
              <Mapping SourceColumn="MA_INDEX" DataSetColumn="MA_INDEX" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PARAMETERVALUESTableAdapter" GeneratorDataComponentClassName="PARAMETERVALUESTableAdapter" Name="PARAMETERVALUES" UserDataComponentName="PARAMETERVALUESTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Case A15ConnectionString" DbObjectName="PARAMETERVALUES" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `PARAMETERVALUES` WHERE ((`PV_NR` = ?) AND ((? = 1 AND `MA_NR` IS NULL) OR (`MA_NR` = ?)) AND ((? = 1 AND `PN_NR` IS NULL) OR (`PN_NR` = ?)) AND ((? = 1 AND `PV_VALUE` IS NULL) OR (`PV_VALUE` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_PV_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PV_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_MA_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_MA_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PN_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_PN_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PV_VALUE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PV_VALUE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="Original_PV_VALUE" Precision="0" ProviderType="Double" Scale="0" Size="0" SourceColumn="PV_VALUE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `PARAMETERVALUES` (`MA_NR`, `PN_NR`, `PV_VALUE`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="MA_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="PN_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="PV_VALUE" Precision="0" ProviderType="Double" Scale="0" Size="0" SourceColumn="PV_VALUE" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PV_NR, MA_NR, PN_NR, PV_VALUE FROM PARAMETERVALUES</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `PARAMETERVALUES` SET `MA_NR` = ?, `PN_NR` = ?, `PV_VALUE` = ? WHERE ((`PV_NR` = ?) AND ((? = 1 AND `MA_NR` IS NULL) OR (`MA_NR` = ?)) AND ((? = 1 AND `PN_NR` IS NULL) OR (`PN_NR` = ?)) AND ((? = 1 AND `PV_VALUE` IS NULL) OR (`PV_VALUE` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="MA_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="PN_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="PV_VALUE" Precision="0" ProviderType="Double" Scale="0" Size="0" SourceColumn="PV_VALUE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_PV_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PV_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_MA_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_MA_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="MA_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PN_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_PN_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PV_VALUE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PV_VALUE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="Original_PV_VALUE" Precision="0" ProviderType="Double" Scale="0" Size="0" SourceColumn="PV_VALUE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PV_NR" DataSetColumn="PV_NR" />
              <Mapping SourceColumn="MA_NR" DataSetColumn="MA_NR" />
              <Mapping SourceColumn="PN_NR" DataSetColumn="PN_NR" />
              <Mapping SourceColumn="PV_VALUE" DataSetColumn="PV_VALUE" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PARAMETERNAMESTableAdapter" GeneratorDataComponentClassName="PARAMETERNAMESTableAdapter" Name="PARAMETERNAMES" UserDataComponentName="PARAMETERNAMESTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Case A15ConnectionString" DbObjectName="PARAMETERNAMES" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `PARAMETERNAMES` WHERE ((`PN_NR` = ?) AND ((? = 1 AND `PN_NAME` IS NULL) OR (`PN_NAME` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_PN_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PN_NAME" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="Original_PN_NAME" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="PN_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `PARAMETERNAMES` (`PN_NAME`) VALUES (?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="PN_NAME" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="PN_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PN_NR, PN_NAME FROM PARAMETERNAMES</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `PARAMETERNAMES` SET `PN_NAME` = ? WHERE ((`PN_NR` = ?) AND ((? = 1 AND `PN_NAME` IS NULL) OR (`PN_NAME` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="PN_NAME" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="PN_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_PN_NR" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PN_NAME" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PN_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="Original_PN_NAME" Precision="0" ProviderType="WChar" Scale="0" Size="0" SourceColumn="PN_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PN_NR" DataSetColumn="PN_NR" />
              <Mapping SourceColumn="PN_NAME" DataSetColumn="PN_NAME" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="SoilbaseDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="SoilbaseDataSet" msprop:Generator_UserDSName="SoilbaseDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="MATERIALS" msprop:Generator_UserTableName="MATERIALS" msprop:Generator_RowDeletedName="MATERIALSRowDeleted" msprop:Generator_TableClassName="MATERIALSDataTable" msprop:Generator_RowChangedName="MATERIALSRowChanged" msprop:Generator_RowClassName="MATERIALSRow" msprop:Generator_RowChangingName="MATERIALSRowChanging" msprop:Generator_RowEvArgName="MATERIALSRowChangeEvent" msprop:Generator_RowEvHandlerName="MATERIALSRowChangeEventHandler" msprop:Generator_TablePropName="MATERIALS" msprop:Generator_TableVarName="tableMATERIALS" msprop:Generator_RowDeletingName="MATERIALSRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MA_NR" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="MA_NR" msprop:Generator_ColumnPropNameInRow="MA_NR" msprop:Generator_ColumnVarNameInTable="columnMA_NR" msprop:Generator_ColumnPropNameInTable="MA_NRColumn" type="xs:int" />
              <xs:element name="MA_NAME" msprop:Generator_UserColumnName="MA_NAME" msprop:Generator_ColumnPropNameInRow="MA_NAME" msprop:Generator_ColumnVarNameInTable="columnMA_NAME" msprop:Generator_ColumnPropNameInTable="MA_NAMEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="128" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MA_DESCR" msprop:Generator_UserColumnName="MA_DESCR" msprop:Generator_ColumnPropNameInRow="MA_DESCR" msprop:Generator_ColumnVarNameInTable="columnMA_DESCR" msprop:Generator_ColumnPropNameInTable="MA_DESCRColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="240" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MA_INDEX" msprop:Generator_UserColumnName="MA_INDEX" msprop:Generator_ColumnPropNameInRow="MA_INDEX" msprop:Generator_ColumnVarNameInTable="columnMA_INDEX" msprop:Generator_ColumnPropNameInTable="MA_INDEXColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PARAMETERVALUES" msprop:Generator_UserTableName="PARAMETERVALUES" msprop:Generator_RowDeletedName="PARAMETERVALUESRowDeleted" msprop:Generator_TableClassName="PARAMETERVALUESDataTable" msprop:Generator_RowChangedName="PARAMETERVALUESRowChanged" msprop:Generator_RowClassName="PARAMETERVALUESRow" msprop:Generator_RowChangingName="PARAMETERVALUESRowChanging" msprop:Generator_RowEvArgName="PARAMETERVALUESRowChangeEvent" msprop:Generator_RowEvHandlerName="PARAMETERVALUESRowChangeEventHandler" msprop:Generator_TablePropName="PARAMETERVALUES" msprop:Generator_TableVarName="tablePARAMETERVALUES" msprop:Generator_RowDeletingName="PARAMETERVALUESRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PV_NR" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PV_NR" msprop:Generator_ColumnPropNameInRow="PV_NR" msprop:Generator_ColumnVarNameInTable="columnPV_NR" msprop:Generator_ColumnPropNameInTable="PV_NRColumn" type="xs:int" />
              <xs:element name="MA_NR" msprop:Generator_UserColumnName="MA_NR" msprop:Generator_ColumnPropNameInRow="MA_NR" msprop:Generator_ColumnVarNameInTable="columnMA_NR" msprop:Generator_ColumnPropNameInTable="MA_NRColumn" type="xs:int" minOccurs="0" />
              <xs:element name="PN_NR" msprop:Generator_UserColumnName="PN_NR" msprop:Generator_ColumnPropNameInRow="PN_NR" msprop:Generator_ColumnVarNameInTable="columnPN_NR" msprop:Generator_ColumnPropNameInTable="PN_NRColumn" type="xs:int" minOccurs="0" />
              <xs:element name="PV_VALUE" msprop:Generator_UserColumnName="PV_VALUE" msprop:Generator_ColumnPropNameInRow="PV_VALUE" msprop:Generator_ColumnVarNameInTable="columnPV_VALUE" msprop:Generator_ColumnPropNameInTable="PV_VALUEColumn" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PARAMETERNAMES" msprop:Generator_UserTableName="PARAMETERNAMES" msprop:Generator_RowDeletedName="PARAMETERNAMESRowDeleted" msprop:Generator_TableClassName="PARAMETERNAMESDataTable" msprop:Generator_RowChangedName="PARAMETERNAMESRowChanged" msprop:Generator_RowClassName="PARAMETERNAMESRow" msprop:Generator_RowChangingName="PARAMETERNAMESRowChanging" msprop:Generator_RowEvArgName="PARAMETERNAMESRowChangeEvent" msprop:Generator_RowEvHandlerName="PARAMETERNAMESRowChangeEventHandler" msprop:Generator_TablePropName="PARAMETERNAMES" msprop:Generator_TableVarName="tablePARAMETERNAMES" msprop:Generator_RowDeletingName="PARAMETERNAMESRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PN_NR" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PN_NR" msprop:Generator_ColumnPropNameInRow="PN_NR" msprop:Generator_ColumnVarNameInTable="columnPN_NR" msprop:Generator_ColumnPropNameInTable="PN_NRColumn" type="xs:int" />
              <xs:element name="PN_NAME" msprop:Generator_UserColumnName="PN_NAME" msprop:Generator_ColumnPropNameInRow="PN_NAME" msprop:Generator_ColumnVarNameInTable="columnPN_NAME" msprop:Generator_ColumnPropNameInTable="PN_NAMEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </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:MATERIALS" />
      <xs:field xpath="mstns:MA_NR" />
    </xs:unique>
    <xs:unique name="PARAMETERVALUES_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PARAMETERVALUES" />
      <xs:field xpath="mstns:PV_NR" />
    </xs:unique>
    <xs:unique name="PARAMETERNAMES_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PARAMETERNAMES" />
      <xs:field xpath="mstns:PN_NR" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_PARAMETE_RELATION__MATERIAL" msdata:parent="MATERIALS" msdata:child="PARAMETERVALUES" msdata:parentkey="MA_NR" msdata:childkey="MA_NR" msprop:Generator_UserRelationName="FK_PARAMETE_RELATION__MATERIAL" msprop:Generator_RelationVarName="relationFK_PARAMETE_RELATION__MATERIAL" msprop:Generator_UserChildTable="PARAMETERVALUES" msprop:Generator_UserParentTable="MATERIALS" msprop:Generator_ParentPropName="MATERIALSRow" msprop:Generator_ChildPropName="GetPARAMETERVALUESRows" />
      <msdata:Relationship name="FK_PARAMETE_RELATION__PARAMETE" msdata:parent="PARAMETERNAMES" msdata:child="PARAMETERVALUES" msdata:parentkey="PN_NR" msdata:childkey="PN_NR" msprop:Generator_UserRelationName="FK_PARAMETE_RELATION__PARAMETE" msprop:Generator_RelationVarName="relationFK_PARAMETE_RELATION__PARAMETE" msprop:Generator_UserChildTable="PARAMETERVALUES" msprop:Generator_UserParentTable="PARAMETERNAMES" msprop:Generator_ParentPropName="PARAMETERNAMESRow" msprop:Generator_ChildPropName="GetPARAMETERVALUESRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>