Oracle.ManagedDataAccess.Client.Configuration.Section.xsd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  3. <xs:include schemaLocation="Oracle.DataAccess.Common.Configuration.Section.xsd"/>
  4. <xs:element name="oracle.manageddataaccess.client" >
  5. <xs:complexType>
  6. <xs:choice minOccurs="0" maxOccurs="unbounded">
  7. <xs:element name="version" type="odpmversiontype" minOccurs="0" />
  8. </xs:choice>
  9. </xs:complexType>
  10. </xs:element>
  11. <xs:complexType name="odpmversiontype">
  12. <xs:complexContent>
  13. <xs:extension base="odpmparameters">
  14. <xs:attribute name="number" type="xs:string" use="required" />
  15. </xs:extension>
  16. </xs:complexContent>
  17. </xs:complexType>
  18. <xs:complexType name="odpmparameters">
  19. <xs:all>
  20. <xs:element minOccurs="0" name="settings">
  21. <xs:complexType>
  22. <xs:sequence>
  23. <xs:element maxOccurs="unbounded" minOccurs="0" name="setting">
  24. <xs:complexType>
  25. <xs:attribute name="name" type="xs:string" use="required" />
  26. <xs:attribute name="value" type="xs:string" use="required" />
  27. </xs:complexType>
  28. </xs:element>
  29. </xs:sequence>
  30. </xs:complexType>
  31. </xs:element>
  32. <xs:element minOccurs="0" name="udtMappings">
  33. <xs:complexType>
  34. <xs:sequence>
  35. <xs:element maxOccurs="unbounded" minOccurs="0" name="udtMapping">
  36. <xs:complexType>
  37. <xs:attribute name="typeName" type="xs:string" use="required" />
  38. <xs:attribute name="factoryName" type="xs:string" use="required" />
  39. <xs:attribute name="dataSource" type="xs:string" use="required" />
  40. <xs:attribute name="schemaName" type="xs:string" use="required" />
  41. </xs:complexType>
  42. </xs:element>
  43. </xs:sequence>
  44. </xs:complexType>
  45. </xs:element>
  46. <xs:element minOccurs="0" name="LDAPsettings">
  47. <xs:complexType>
  48. <xs:sequence>
  49. <xs:element maxOccurs="unbounded" minOccurs="0" name="LDAPsetting">
  50. <xs:complexType>
  51. <xs:attribute name="name" type="xs:string" use="required" />
  52. <xs:attribute name="value" type="xs:string" use="required" />
  53. </xs:complexType>
  54. </xs:element>
  55. </xs:sequence>
  56. </xs:complexType>
  57. </xs:element>
  58. <xs:element minOccurs="0" name="distributedTransaction">
  59. <xs:complexType>
  60. <xs:sequence>
  61. <xs:element maxOccurs="unbounded" minOccurs="0" name="setting">
  62. <xs:complexType>
  63. <xs:attribute name="name" type="xs:string" use="required" />
  64. <xs:attribute name="value" type="xs:string" use="required" />
  65. </xs:complexType>
  66. </xs:element>
  67. </xs:sequence>
  68. </xs:complexType>
  69. </xs:element>
  70. <xs:element minOccurs="0" name="dataSources">
  71. <xs:complexType>
  72. <xs:sequence>
  73. <xs:element maxOccurs="unbounded" minOccurs="0" name="dataSource">
  74. <xs:complexType>
  75. <xs:attribute name="alias" type="xs:string" use="required" />
  76. <xs:attribute name="descriptor" type="xs:string" use="required" />
  77. </xs:complexType>
  78. </xs:element>
  79. </xs:sequence>
  80. </xs:complexType>
  81. </xs:element>
  82. <xs:element minOccurs="0" name="connectionPools">
  83. <xs:complexType>
  84. <xs:sequence>
  85. <xs:element maxOccurs="unbounded" minOccurs="0" name="connectionPool">
  86. <xs:complexType>
  87. <xs:attribute name="connectionString" type="xs:string" use="required" />
  88. <xs:attribute name="poolName" type="xs:string" use="required" />
  89. </xs:complexType>
  90. </xs:element>
  91. </xs:sequence>
  92. </xs:complexType>
  93. </xs:element>
  94. <xs:element minOccurs="0" name="edmMappings">
  95. <xs:complexType>
  96. <xs:sequence>
  97. <xs:element minOccurs="0" maxOccurs="unbounded" name="edmMapping">
  98. <xs:complexType>
  99. <xs:sequence>
  100. <xs:element minOccurs="0" maxOccurs="unbounded" name="add">
  101. <xs:complexType>
  102. <xs:attribute name="name" type="xs:string" use="required" />
  103. <xs:attribute name="precision" type="xs:int" use="required" />
  104. </xs:complexType>
  105. </xs:element>
  106. </xs:sequence>
  107. <xs:attribute name="dataType" type="xs:string" use="required" />
  108. </xs:complexType>
  109. </xs:element>
  110. <xs:element minOccurs="0" maxOccurs="unbounded" name="edmNumberMapping">
  111. <xs:complexType>
  112. <xs:sequence>
  113. <xs:element minOccurs="0" maxOccurs="unbounded" name="add">
  114. <xs:complexType>
  115. <xs:attribute name="NETType" type="xs:string" use="required" />
  116. <xs:attribute name="MinPrecision" type="xs:int" use="required" />
  117. <xs:attribute name="MaxPrecision" type="xs:int" use="required" />
  118. <xs:attribute name="DBType" type="xs:string" use="required" />
  119. </xs:complexType>
  120. </xs:element>
  121. </xs:sequence>
  122. </xs:complexType>
  123. </xs:element>
  124. </xs:sequence>
  125. </xs:complexType>
  126. </xs:element>
  127. <xs:element minOccurs="0" name="implicitRefCursor">
  128. <xs:complexType>
  129. <xs:sequence>
  130. <xs:element maxOccurs="unbounded" minOccurs="0" name="storedProcedure">
  131. <xs:complexType>
  132. <xs:sequence>
  133. <xs:element maxOccurs="unbounded" minOccurs="1" name="refCursor">
  134. <xs:complexType>
  135. <xs:sequence>
  136. <xs:element maxOccurs="1" minOccurs="1" name="bindInfo">
  137. <xs:complexType>
  138. <xs:attribute name="mode" type="parameterDirection" use="required" />
  139. </xs:complexType>
  140. </xs:element>
  141. <xs:element maxOccurs="unbounded" minOccurs="0" name="metadata">
  142. <xs:complexType>
  143. <xs:attribute name="columnOrdinal" type="xs:int" use="required" />
  144. <xs:attribute name="columnName" type="xs:string" use="required" />
  145. <xs:attribute name="baseColumnName" type="xs:string" use="optional" />
  146. <xs:attribute name="baseSchemaName" type="xs:string" use="optional" />
  147. <xs:attribute name="baseTableName" type="xs:string" use="optional" />
  148. <xs:attribute name="providerType" type="providerType" use="optional" />
  149. <xs:attribute name="columnSize" type="xs:int" use="optional" />
  150. <xs:attribute name="numericPrecision" type="xs:int" use="optional" />
  151. <xs:attribute name="numericScale" type="xs:int" use="optional" />
  152. <xs:attribute name="isUnique" type="customBoolean" use="optional" />
  153. <xs:attribute name="isKey" type="customBoolean" use="optional" />
  154. <xs:attribute name="isRowID" type="customBoolean" use="optional" />
  155. <xs:attribute name="dataType" type="datatype" use="optional" />
  156. <xs:attribute name="allowDBNull" type="customBoolean" use="optional" />
  157. <xs:attribute name="isAliased" type="customBoolean" use="optional" />
  158. <xs:attribute name="isByteSemantic" type="customBoolean" use="optional" />
  159. <xs:attribute name="isExpression" type="customBoolean" use="optional" />
  160. <xs:attribute name="isHidden" type="customBoolean" use="optional" />
  161. <xs:attribute name="isReadOnly" type="customBoolean" use="optional" />
  162. <xs:attribute name="isLong" type="customBoolean" use="optional" />
  163. <xs:attribute name="udtTypeName" type="xs:string" use="optional" />
  164. <xs:attribute name="nativeDataType" type="nativeDataType" use="optional" />
  165. <xs:attribute name="providerDBType" type="providerDBType" use="optional" />
  166. <xs:attribute name="objectName" type="xs:string" use="optional" />
  167. </xs:complexType>
  168. </xs:element>
  169. </xs:sequence>
  170. <xs:attribute name="name" type="xs:string" use="optional" />
  171. <xs:attribute name="position" type="xs:int" use="optional" />
  172. </xs:complexType>
  173. </xs:element>
  174. </xs:sequence>
  175. <xs:attribute name="schema" type="xs:string" use="optional" />
  176. <xs:attribute name="name" type="xs:string" use="required" />
  177. </xs:complexType>
  178. </xs:element>
  179. </xs:sequence>
  180. </xs:complexType>
  181. </xs:element>
  182. <xs:element minOccurs="0" name="onsConfig">
  183. <xs:complexType>
  184. <xs:sequence>
  185. <xs:element minOccurs="0" name="settings">
  186. <xs:complexType>
  187. <xs:sequence>
  188. <xs:element maxOccurs="2" minOccurs="0" name="setting">
  189. <xs:complexType>
  190. <xs:attribute name="name" type="xs:string" use="required" />
  191. <xs:attribute name="value" type="xs:string" use="required" />
  192. </xs:complexType>
  193. </xs:element>
  194. </xs:sequence>
  195. </xs:complexType>
  196. </xs:element>
  197. <xs:element minOccurs="0" maxOccurs="unbounded" name="ons">
  198. <xs:complexType>
  199. <xs:sequence>
  200. <xs:element maxOccurs="3" minOccurs="1" name="add">
  201. <xs:complexType>
  202. <xs:attribute name="name" type="ONSParameters" use="required" />
  203. <xs:attribute name="value" type="xs:string" use="required" />
  204. </xs:complexType>
  205. </xs:element>
  206. </xs:sequence>
  207. <xs:attribute name="database" type="xs:string" use="required" />
  208. </xs:complexType>
  209. </xs:element>
  210. </xs:sequence>
  211. <xs:attribute name="configFile" type="xs:string" use="optional" />
  212. <xs:attribute name="mode" type="ONSModeValues" use="required" />
  213. </xs:complexType>
  214. </xs:element>
  215. </xs:all>
  216. </xs:complexType>
  217. </xs:schema>