home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW.cab / FL_DataSource_xsd_117808________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2009-05-23  |  13KB  |  201 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="DataSourceSchema" targetNamespace="urn:schemas-microsoft-com:xml-msdatasource" elementFormDefault="qualified" xmlns="urn:schemas-microsoft-com:xml-msdatasource" xmlns:mstns="urn:schemas-microsoft-com:xml-msdatasource" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3.     <xs:element name="DataSource">
  4.         <xs:complexType>
  5.             <xs:choice minOccurs="0" maxOccurs="unbounded">
  6.                 <xs:element name="Connections" maxOccurs="1">
  7.                     <xs:complexType>
  8.                         <xs:sequence>
  9.                             <xs:element name="Connection" minOccurs="0" maxOccurs="unbounded">
  10.                                 <xs:complexType>
  11.                                     <xs:sequence />
  12.                                     <xs:attribute name="Name" type="xs:string" use="required" />
  13.                                     <xs:attribute name="AppSettingsObjectName" type="xs:string" />
  14.                                     <xs:attribute name="AppSettingsPropertyName" type="xs:string" />
  15.                                     <xs:attribute name="ConnectionStringObject" type="xs:string" />
  16.                                     <xs:attribute name="IsAppSettingsProperty" type="Boolean" />
  17.                                     <xs:attribute name="Modifier" type="xs:string" />
  18.                                     <xs:attribute name="PropertyReference" type="xs:string" />
  19.                                     <xs:attribute name="Provider" type="xs:string" />
  20.                                 </xs:complexType>
  21.                             </xs:element>
  22.                         </xs:sequence>
  23.                     </xs:complexType>
  24.                 </xs:element>
  25.                 <xs:element name="Tables" maxOccurs="1">
  26.                     <xs:complexType>
  27.                         <xs:sequence>
  28.                             <xs:element name="TableAdapter" maxOccurs="unbounded" minOccurs="0">
  29.                                 <xs:complexType>
  30.                                     <xs:sequence>
  31.                                         <xs:element name="MainSource" maxOccurs="1">
  32.                                             <xs:complexType>
  33.                                                 <xs:sequence>
  34.                                                     <xs:element ref="DbSource" maxOccurs="1" minOccurs="1">
  35.                                                     </xs:element>
  36.                                                 </xs:sequence>
  37.                                             </xs:complexType>
  38.                                         </xs:element>
  39.                                         <xs:element name="Mappings" maxOccurs="1" minOccurs="0">
  40.                                             <xs:complexType>
  41.                                                 <xs:sequence>
  42.                                                     <xs:element name="Mapping" maxOccurs="unbounded" minOccurs="0">
  43.                                                         <xs:complexType>
  44.                                                             <xs:sequence />
  45.                                                             <xs:attribute name="SourceColumn" type="xs:string" />
  46.                                                             <xs:attribute name="DataSetColumn" type="xs:string" />
  47.                                                         </xs:complexType>
  48.                                                     </xs:element>
  49.                                                 </xs:sequence>
  50.                                             </xs:complexType>
  51.                                         </xs:element>
  52.                                         <xs:element name="Sources" maxOccurs="1" minOccurs="0">
  53.                                             <xs:complexType>
  54.                                                 <xs:sequence>
  55.                                                     <xs:element ref="DbSource" maxOccurs="unbounded" minOccurs="0">
  56.                                                     </xs:element>
  57.                                                 </xs:sequence>
  58.                                             </xs:complexType>
  59.                                         </xs:element>
  60.                                     </xs:sequence>
  61.                                     <xs:attribute name="Name" type="xs:string" use="required" />
  62.                                     <xs:attribute name="BaseClass" type="xs:string" />
  63.                                     <xs:attribute name="DataAccessorName" type="xs:string" />
  64.                                     <xs:attribute name="GeneratorDataComponentClassName" type="xs:string" />
  65.                                     <xs:attribute name="GeneratorDataComponentInterfaceName" type="xs:string" />
  66.                                     <xs:attribute name="UserDataComponentName" type="xs:string" />
  67.                                     <xs:attribute name="Modifier" type="xs:string" />
  68.                                     <xs:attribute name="Provider" type="xs:string" />
  69.                                 </xs:complexType>
  70.                             </xs:element>
  71.                         </xs:sequence>
  72.                     </xs:complexType>
  73.                 </xs:element>
  74.                 <xs:element name="Sources" maxOccurs="1">
  75.                     <xs:complexType>
  76.                         <xs:sequence>
  77.                             <xs:element maxOccurs="unbounded" minOccurs="0" ref="DbSource">
  78.                             </xs:element>
  79.                         </xs:sequence>
  80.                     </xs:complexType>
  81.                 </xs:element>
  82.             </xs:choice>
  83.             <xs:attribute name="DefaultConnectionIndex" type="xs:integer" />
  84.             <xs:attribute name="GeneratorTypeConverterClassName" type="xs:string" />
  85.             <xs:attribute name="Modifier" type="xs:string" />
  86.             <xs:attribute name="FunctionsComponentName" type="xs:string" />
  87.             <xs:attribute name="UserFunctionsComponentName" type="xs:string" />
  88.             <xs:attribute name="GeneratorFunctionsComponentInterfaceName" type="xs:string" />
  89.             <xs:attribute name="GeneratorFunctionsComponentClassName" type="xs:string" />
  90.         </xs:complexType>
  91.         <xs:key name="ConnectionNameKey">
  92.             <xs:selector xpath=".//mstns:Connection" />
  93.             <xs:field xpath="@Name" />
  94.         </xs:key>
  95.         <xs:key name="TableAdapterNameKey">
  96.             <xs:selector xpath=".//mstns:TableAdapter" />
  97.             <xs:field xpath="@Name" />
  98.         </xs:key>
  99.         <xs:keyref name="ConnectionRefKeyRef" refer="ConnectionNameKey">
  100.             <xs:selector xpath=".//mstns:DbSource" />
  101.             <xs:field xpath="@ConnectionRef" />
  102.         </xs:keyref>
  103.     </xs:element>
  104.     <xs:element name="DbSource" type="DbSource">
  105.     </xs:element>
  106.     <xs:complexType name="SpecifiedCommand">
  107.         <xs:sequence maxOccurs="1" minOccurs="1">
  108.             <xs:element name="DbCommand" maxOccurs="1" minOccurs="1">
  109.                 <xs:complexType>
  110.                     <xs:sequence>
  111.                         <xs:element name="CommandText" type="xs:string" maxOccurs="1" minOccurs="1">
  112.                         </xs:element>
  113.                         <xs:element name="Parameters" maxOccurs="1" minOccurs="0">
  114.                             <xs:complexType>
  115.                                 <xs:sequence>
  116.                                     <xs:element name="Parameter" maxOccurs="unbounded" minOccurs="0">
  117.                                         <xs:complexType>
  118.                                             <xs:sequence />
  119.                                             <xs:attribute name="ParameterName" type="xs:string" />
  120.                                             <xs:attribute name="AutogeneratedName" type="xs:string" />
  121.                                             <xs:attribute name="DataSourceName" type="xs:string" />
  122.                                             <xs:attribute name="DbType" type="xs:string" />
  123.                                             <xs:attribute name="Direction" type="xs:string" />
  124.                                             <xs:attribute name="Precision" type="xs:unsignedByte" />
  125.                                             <xs:attribute name="Scale" type="xs:unsignedByte" />
  126.                                             <xs:attribute name="Size" type="xs:integer" />
  127.                                             <xs:attribute name="SourceColumn" type="xs:string" />
  128.                                             <xs:attribute name="SourceColumnNullMapping" type="Boolean" />
  129.                                             <xs:attribute name="UseOptimisticConcurrency" type="Boolean" />
  130.                                             <xs:attribute name="SourceVersion" type="xs:string" />
  131.                                             <xs:attribute name="ColumnName" type="xs:string" />
  132.                                             <xs:attribute name="DataTypeServer" type="xs:string" />
  133.                                         </xs:complexType>
  134.                                     </xs:element>
  135.                                 </xs:sequence>
  136.                             </xs:complexType>
  137.                             <xs:unique name="ParameterNameKey">
  138.                                 <xs:selector xpath="Parameter" />
  139.                                 <xs:field xpath="@ParameterName" />
  140.                             </xs:unique>
  141.                         </xs:element>
  142.                     </xs:sequence>
  143.                     <xs:attribute name="CommandType" type="xs:string" />
  144.                     <xs:attribute name="ModifiedByUser" type="Boolean" />
  145.                 </xs:complexType>
  146.             </xs:element>
  147.         </xs:sequence>
  148.     </xs:complexType>
  149.     <xs:complexType name="Source">
  150.         <xs:attribute name="Name" type="xs:string" />
  151.         <xs:attribute name="Modifier" type="xs:string" />
  152.         <xs:attribute name="UserSourceName" type="xs:string" />
  153.         <xs:attribute name="GeneratorSourceName" type="xs:string" />
  154.         <xs:attribute name="GeneratorGetMethodName" type="xs:string" />
  155.     </xs:complexType>
  156.     <xs:simpleType name="Boolean">
  157.         <xs:restriction base="xs:string">
  158.             <xs:enumeration value="True" />
  159.             <xs:enumeration value="False" />
  160.         </xs:restriction>
  161.     </xs:simpleType>
  162.     <xs:complexType name="DbSource">
  163.         <xs:complexContent>
  164.             <xs:extension base="Source">
  165.                 <xs:choice minOccurs="0" maxOccurs="unbounded">
  166.                     <xs:element name="DeleteCommand" type="SpecifiedCommand" maxOccurs="1" />
  167.                     <xs:element name="InsertCommand" type="SpecifiedCommand" maxOccurs="1" />
  168.                     <xs:element name="SelectCommand" type="SpecifiedCommand" maxOccurs="1" />
  169.                     <xs:element name="UpdateCommand" type="SpecifiedCommand" maxOccurs="1" />
  170.                 </xs:choice>
  171.                 <xs:attribute name="DbObjectName" type="xs:string" />
  172.                 <xs:attribute name="DbObjectType" type="xs:string" />
  173.                 <xs:attribute name="ConnectionRef" type="xs:string" />
  174.                 <xs:attribute name="ScalarCallRetval" type="xs:string" />
  175.                 <xs:attribute name="FillMethodModifier" type="xs:string" />
  176.                 <xs:attribute name="ParameterList" type="xs:string" />
  177.                 <xs:attribute name="FillMethodName" type="xs:string" />
  178.                 <xs:attribute name="GetMethodName" type="xs:string" />
  179.                 <xs:attribute name="UserGetMethodName" type="xs:string" />
  180.                 <xs:attribute name="GenerateMethods" type="GenerateMethodTypes" />
  181.                 <xs:attribute name="QueryType" type="QueryType" />
  182.                 <xs:attribute name="MethodsParameterType" type="xs:string" />
  183.             </xs:extension>
  184.         </xs:complexContent>
  185.     </xs:complexType>
  186.     <xs:simpleType name="QueryType">
  187.         <xs:restriction base="xs:string">
  188.             <xs:enumeration value="Rowset" />
  189.             <xs:enumeration value="Scalar" />
  190.             <xs:enumeration value="NoData" />
  191.         </xs:restriction>
  192.     </xs:simpleType>
  193.     <xs:simpleType name="GenerateMethodTypes">
  194.         <xs:restriction base="xs:string">
  195.             <xs:enumeration value="Fill" />
  196.             <xs:enumeration value="Get" />
  197.             <xs:enumeration value="Both" />
  198.         </xs:restriction>
  199.     </xs:simpleType>
  200. </xs:schema>
  201.