[Mono-dev] [ADO.NET] AutoIncrement fields, unique constraints and updates

Marek Habersack grendel at caudium.net
Sun Mar 5 16:21:54 EST 2006


Forgot to attach the xsd, sorry about that. Please find it attached now,

best regards,

marek
-------------- next part --------------
<?xml version="1.0" standalone="yes"?>
<xs:schema id="MemberProductsDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  <xs:element name="MemberProductsDataSet" msdata:IsDataSet="true" msdata:Locale="en-US">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="memberProducts">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="memberId" type="xs:int" />
              <xs:element name="productId" type="xs:int" />
              <xs:element name="quantity" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//memberProducts" />
      <xs:field xpath="memberId" />
      <xs:field xpath="productId" />
    </xs:unique>
  </xs:element>
</xs:schema>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060305/e0512299/attachment.bin 


More information about the Mono-devel-list mailing list