comparison Tools/CodeGenerator/ValueMapping.xml @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 <?xml version="1.0" encoding="utf-8"?>
2 <code transformer="ValueMapping.xslt">
3
4 <using namespace="System"/>
5 <using namespace="System.Data.SqlTypes"/>
6
7 <!--
8 Short type names.
9 'A' => Arrays,
10 'N' => Nullable<>,
11 'I' => Integer types,
12 'U' => Unsigned integer types,
13 'R' => Real types,
14 'db' => Sql types.
15 -->
16 <nick type="Object" name="O"/>
17 <nick type="String" name="S"/>
18 <nick type="Char" name="C"/>
19
20 <nick type="SByte" name="I8"/>
21 <nick type="Int16" name="I16"/>
22 <nick type="Int32" name="I32"/>
23 <nick type="Int64" name="I64"/>
24
25 <nick type="Byte" name="U8"/>
26 <nick type="UInt16" name="U16"/>
27 <nick type="UInt32" name="U32"/>
28 <nick type="UInt64" name="U64"/>
29
30 <nick type="Single" name="R4"/>
31 <nick type="Double" name="R8"/>
32
33 <nick type="Boolean" name="B"/>
34 <nick type="Decimal" name="D"/>
35
36 <nick type="Guid" name="G"/>
37 <nick type="TimeSpan" name="TS"/>
38 <nick type="DateTime" name="DT"/>
39
40 <nick type="SqlString" name="dbS"/>
41
42 <nick type="SqlByte" name="dbU8"/>
43 <nick type="SqlInt16" name="dbI16"/>
44 <nick type="SqlInt32" name="dbI32"/>
45 <nick type="SqlInt64" name="dbI64"/>
46
47 <nick type="SqlSingle" name="dbR4"/>
48 <nick type="SqlDouble" name="dbR8"/>
49 <nick type="SqlDecimal" name="dbD"/>
50 <nick type="SqlMoney" name="dbM"/>
51
52 <nick type="SqlBoolean" name="dbB"/>
53 <nick type="SqlDateTime" name="dbDT"/>
54 <nick type="SqlGuid" name="dbG"/>
55
56 <nick type="SqlBinary" name="dbBin"/>
57 <nick type="SqlBytes" name="dbAU8"/>
58 <nick type="SqlChars" name="dbAC"/>
59 <nick type="SqlXml" name="dbXml"/>
60
61 <group name="Scalar Types">
62 <type name="SByte" />
63 <type name="Int16" />
64 <type name="Int32" />
65 <type name="Int64" />
66 <br/>
67 <type name="Byte" />
68 <type name="UInt16" />
69 <type name="UInt32" />
70 <type name="UInt64" />
71 <br/>
72 <type name="Boolean" />
73 <type name="Char" />
74 <type name="Single" />
75 <type name="Double" />
76 <type name="Decimal" />
77 <br/>
78 <!--<type name="Guid" />
79 <type name="DateTime"/>-->
80 </group>
81
82 <group name="Nullable Types" nullable="true">
83 <type name="SByte" />
84 <type name="Int16" />
85 <type name="Int32" />
86 <type name="Int64" />
87 <br/>
88 <type name="Byte" />
89 <type name="UInt16" />
90 <type name="UInt32" />
91 <type name="UInt64" />
92 <br/>
93 <type name="Boolean" />
94 <type name="Char" />
95 <type name="Single" />
96 <type name="Double" />
97 <type name="Decimal" />
98 <br/>
99 <!--<type name="Guid" />
100 <type name="DateTime"/>-->
101 </group>
102
103 <group name="SqlTypes">
104 <type name="SqlString" />
105 <br/>
106 <type name="SqlByte" />
107 <type name="SqlInt16" />
108 <type name="SqlInt32" />
109 <type name="SqlInt64" />
110 <br/>
111 <type name="SqlSingle" />
112 <type name="SqlDouble" />
113 <type name="SqlDecimal" />
114 <type name="SqlMoney" />
115 <br/>
116 <type name="SqlBoolean" />
117 <type name="SqlGuid" />
118 <type name="SqlDateTime"/>
119 </group>
120
121 </code>