Hi all,
I have a simple dataset with a relation between 2 tables. The problem
is that I cannot see the "relation object represented as a gray
square" as I should (and have done in the past). Is there anything
wrong with the relationship?
Thanks,
Rob
--------------------------------------------------------------------------
<?xml version="1.0" standalone="yes" ?>
<xs:schema id="DataSet3"
targetNamespace="http://www.tempuri.org/DataSet3.xsd"
xmlns:mstns="http://www.tempuri.org/DataSet3.xsd"
xmlns="http://www.tempuri.org/DataSet3.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="DataSet3" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="bustruct">
<xs:complexType>
<xs:sequence>
<xs:element name="parent" msdata:ReadOnly="true"
type="xs:string" minOccurs="0" />
<xs:element name="entity" msdata:ReadOnly="true"
type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="parent">
<xs:complexType>
<xs:sequence>
<xs:element name="parent" msdata:ReadOnly="true"
type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:key name="DataSet3Key1">
<xs:selector xpath=".//mstns:parent" />
<xs:field xpath="mstns:parent" />
</xs:key>
<xs:keyref name="parentbustruct" refer="mstns:DataSet3Key1">
<xs:selector xpath=".//mstns:bustruct" />
<xs:field xpath="mstns:parent" />
</xs:keyref>
</xs:element>
</xs:schema>