Fixing an issue with output parameters that are of type IntPtr
[castle.git] / SharedLibs / mono / 2.0 / SqlMapConfig.xsd
blobba3d1c2800d49b7bfb07903545be61ddde5da83c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema targetNamespace="http://ibatis.apache.org/dataMapper"
3 elementFormDefault="qualified"
4 xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
5 xmlns:xs="http://www.w3.org/2001/XMLSchema"
6 xmlns="http://ibatis.apache.org/dataMapper"
7 xmlns:vs="http://schemas.microsoft.com/Visual-Studio-Intellisense"
8 vs:friendlyname="iBATIS.NET DataMapper Configuration Schema"
9 vs:ishtmlschema="false"
10 vs:iscasesensitive="true"
11 vs:requireattributequotes="true"
12 vs:defaultnamespacequalifier=""
13 vs:defaultnsprefix="">
15 <xs:annotation>
16 <xs:documentation>
17 DataMapper XML Schema Definition
18 </xs:documentation>
19 </xs:annotation>
20 <xs:element name="typeAlias">
21 <xs:complexType>
22 <xs:attribute name="alias" type="xs:string" use="required"/>
23 <xs:attribute name="type" type="xs:string" use="required"/>
24 </xs:complexType>
25 </xs:element>
26 <xs:element name="typeHandler">
27 <xs:complexType>
28 <xs:attribute name="type" type="xs:string"/>
29 <xs:attribute name="dbType" type="xs:string"/>
30 <xs:attribute name="callback" type="xs:string"/>
31 </xs:complexType>
32 </xs:element>
33 <xs:element name="typeHandlers">
34 <xs:complexType>
35 <xs:sequence>
36 <xs:element ref="typeHandler" maxOccurs="unbounded"/>
37 </xs:sequence>
38 </xs:complexType>
39 </xs:element>
40 <xs:element name="alias">
41 <xs:complexType>
42 <xs:sequence>
43 <xs:element ref="typeAlias" maxOccurs="unbounded"/>
44 </xs:sequence>
45 </xs:complexType>
46 </xs:element>
47 <xs:element name="dataSource">
48 <xs:complexType>
49 <xs:attribute name="name" type="xs:string" use="required"/>
50 <xs:attribute name="connectionString" type="xs:string" use="required"/>
51 </xs:complexType>
52 </xs:element>
53 <xs:element name="database">
54 <xs:complexType>
55 <xs:sequence>
56 <xs:element ref="provider"/>
57 <xs:element ref="dataSource"/>
58 </xs:sequence>
59 </xs:complexType>
60 </xs:element>
61 <xs:element name="properties">
62 <xs:complexType>
63 <xs:sequence>
64 <xs:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
65 </xs:sequence>
66 <xs:attribute name="resource" type="xs:string"/>
67 <xs:attribute name="url" type="xs:string"/>
68 <xs:attribute name="embedded" type="xs:string"/>
69 </xs:complexType>
70 </xs:element>
71 <xs:element name="property">
72 <xs:complexType>
73 <xs:attribute name="resource" type="xs:string"/>
74 <xs:attribute name="url" type="xs:string"/>
75 <xs:attribute name="embedded" type="xs:string"/>
76 <xs:attribute name="key" type="xs:string"/>
77 <xs:attribute name="value" type="xs:string"/>
78 </xs:complexType>
79 </xs:element>
80 <xs:element name="provider">
81 <xs:complexType>
82 <xs:attribute name="name" type="xs:string" use="required"/>
83 </xs:complexType>
84 </xs:element>
85 <xs:element name="setting">
86 <xs:complexType>
87 <xs:attribute name="useStatementNamespaces" type="xs:string" default="false"/>
88 <xs:attribute name="cacheModelsEnabled" type="xs:string"/>
89 <xs:attribute name="validateSqlMap" type="xs:string" default="false"/>
90 <xs:attribute name="useEmbedStatementParams" type="xs:boolean" default="false"/>
91 <xs:attribute name="useReflectionOptimizer" type="xs:boolean" default="true"/>
92 </xs:complexType>
93 </xs:element>
94 <xs:element name="settings">
95 <xs:complexType>
96 <xs:sequence>
97 <xs:element ref="setting" maxOccurs="unbounded"/>
98 </xs:sequence>
99 </xs:complexType>
100 </xs:element>
101 <xs:element name="sqlMap">
102 <xs:complexType>
103 <xs:attribute name="resource" type="xs:string"/>
104 <xs:attribute name="url" type="xs:string"/>
105 <xs:attribute name="embedded" type="xs:string"/>
106 </xs:complexType>
107 </xs:element>
108 <xs:element name="providers">
109 <xs:complexType>
110 <xs:attribute name="resource" type="xs:string"/>
111 <xs:attribute name="url" type="xs:string"/>
112 <xs:attribute name="embedded" type="xs:string"/>
113 </xs:complexType>
114 </xs:element>
115 <xs:annotation>
116 <xs:documentation>
117 The document root.
118 </xs:documentation>
119 </xs:annotation>
120 <xs:element name="sqlMapConfig">
121 <xs:complexType mixed="true">
122 <xs:sequence>
123 <xs:element ref="properties" minOccurs="0"/>
124 <xs:element ref="settings" minOccurs="0"/>
125 <xs:element ref="providers" minOccurs="0"/>
126 <xs:element ref="database" minOccurs="0"/>
127 <xs:element ref="alias" minOccurs="0"/>
128 <xs:element ref="typeHandlers" minOccurs="0"/>
129 <xs:element ref="sqlMaps" minOccurs="0"/>
130 </xs:sequence>
131 </xs:complexType>
132 </xs:element>
133 <xs:element name="sqlMaps">
134 <xs:complexType>
135 <xs:sequence>
136 <xs:element ref="sqlMap" maxOccurs="unbounded"/>
137 </xs:sequence>
138 </xs:complexType>
139 </xs:element>
140 </xs:schema>