home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic .NET - Read Less - Learn More / Visual_Basic.NET_Read_Less_Learn_More_Richard_Bowman_Visual_2002.iso / Resources / Code / Ch9-WorkWithDataRows / DsNorthwind.xsd < prev    next >
Text File  |  2001-08-23  |  2KB  |  29 lines

  1. <xsd:schema id="DsNorthwind" targetNamespace="http://www.tempuri.org/DsNorthwind.xsd" xmlns="http://www.tempuri.org/DsNorthwind.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
  2.   <xsd:element name="DsNorthwind" msdata:IsDataSet="true">
  3.     <xsd:complexType>
  4.       <xsd:choice maxOccurs="unbounded">
  5.         <xsd:element name="Customers">
  6.           <xsd:complexType>
  7.             <xsd:sequence>
  8.               <xsd:element name="CustomerID" type="xsd:string" />
  9.               <xsd:element name="CompanyName" type="xsd:string" />
  10.               <xsd:element name="ContactName" type="xsd:string" minOccurs="0" />
  11.               <xsd:element name="ContactTitle" type="xsd:string" minOccurs="0" />
  12.               <xsd:element name="Address" type="xsd:string" minOccurs="0" />
  13.               <xsd:element name="City" type="xsd:string" minOccurs="0" />
  14.               <xsd:element name="Region" type="xsd:string" minOccurs="0" />
  15.               <xsd:element name="PostalCode" type="xsd:string" minOccurs="0" />
  16.               <xsd:element name="Country" type="xsd:string" minOccurs="0" />
  17.               <xsd:element name="Phone" type="xsd:string" minOccurs="0" />
  18.               <xsd:element name="Fax" type="xsd:string" minOccurs="0" />
  19.             </xsd:sequence>
  20.           </xsd:complexType>
  21.         </xsd:element>
  22.       </xsd:choice>
  23.     </xsd:complexType>
  24.     <xsd:unique name="Constraint1" msdata:PrimaryKey="true">
  25.       <xsd:selector xpath=".//Customers" />
  26.       <xsd:field xpath="CustomerID" />
  27.     </xsd:unique>
  28.   </xsd:element>
  29. </xsd:schema>