﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Test1" targetNamespace="http://tempuri.org/Test1.xsd" xmlns:mstns="http://tempuri.org/Test1.xsd" xmlns="http://tempuri.org/Test1.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 />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Test1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Test1" msprop:Generator_UserDSName="Test1">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Table1" msprop:Generator_TableClassName="Table1DataTable" msprop:Generator_TableVarName="tableTable1" msprop:Generator_TablePropName="Table1" msprop:Generator_RowDeletingName="Table1RowDeleting" msprop:Generator_UserTableName="Table1" msprop:Generator_RowChangingName="Table1RowChanging" msprop:Generator_RowEvHandlerName="Table1RowChangeEventHandler" msprop:Generator_RowDeletedName="Table1RowDeleted" msprop:Generator_RowEvArgName="Table1RowChangeEvent" msprop:Generator_RowChangedName="Table1RowChanged" msprop:Generator_RowClassName="Table1Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PrimaryKeyAsString" msprop:Generator_ColumnVarNameInTable="columnPrimaryKeyAsString" msprop:Generator_ColumnPropNameInRow="PrimaryKeyAsString" msprop:Generator_ColumnPropNameInTable="PrimaryKeyAsStringColumn" msprop:Generator_UserColumnName="PrimaryKeyAsString">
                <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="Table2" msprop:Generator_TableClassName="Table2DataTable" msprop:Generator_TableVarName="tableTable2" msprop:Generator_TablePropName="Table2" msprop:Generator_RowDeletingName="Table2RowDeleting" msprop:Generator_UserTableName="Table2" msprop:Generator_RowChangingName="Table2RowChanging" msprop:Generator_RowEvHandlerName="Table2RowChangeEventHandler" msprop:Generator_RowDeletedName="Table2RowDeleted" msprop:Generator_RowEvArgName="Table2RowChangeEvent" msprop:Generator_RowChangedName="Table2RowChanged" msprop:Generator_RowClassName="Table2Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PrimaryKeyAsDate" msprop:Generator_ColumnVarNameInTable="columnPrimaryKeyAsDate" msprop:Generator_ColumnPropNameInRow="PrimaryKeyAsDate" msprop:Generator_ColumnPropNameInTable="PrimaryKeyAsDateColumn" msprop:Generator_UserColumnName="PrimaryKeyAsDate" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Table1" />
      <xs:field xpath="mstns:PrimaryKeyAsString" />
    </xs:unique>
    <xs:unique name="Table2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Table2" />
      <xs:field xpath="mstns:PrimaryKeyAsDate" />
    </xs:unique>
  </xs:element>
</xs:schema>