Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / class / Mono.Data.Tds / Mono.Data.Tds.Protocol / TdsColumnType.cs
1 //
2 // Mono.Data.Tds.Protocol.TdsColumnType.cs
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2002
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 namespace Mono.Data.Tds.Protocol {
32         public enum TdsColumnType {
33                 Binary = 0x2d,          // SYBBINARY
34                 Bit = 0x32,             // SYBBIT
35                 Char = 0x2f,            // SYBCHAR
36                 DateTime = 0x3d,        // SYBDATETIME
37                 DateTime4 = 0x3a,       // SYBDATETIME4
38                 DateTime2 = 0x2a,       // SYBMSDATETIME2
39                 DateTimeOffset = 0x2b,  // SYBMSDATETIMEOFFSET
40                 DateTimeN = 0x6f,       // SYBDATETIMN
41                 Decimal = 0x6a,         // SYBDECIMAL
42                 Real = 0x3b,            // SYBREAL
43                 Float8 = 0x3e,          // SYBFLT8
44                 FloatN = 0x6d,          // SYBFLTN
45                 Image = 0x22,           // SYBIMAGE
46                 Int1 = 0x30,            // SYBINT1
47                 Int2 = 0x34,            // SYBINT2
48                 Int4 = 0x38,            // SYBINT4
49                 IntN = 0x26,            // SYBINTN
50                 Void = 0x1f,            // SYBVOID
51                 Text = 0x23,            // SYBTEXT
52                 UniqueIdentifier = 0x24,// SYBUNIQUE
53                 VarBinary = 0x25,       // SYBVARBINARY
54                 VarChar = 0x27,         // SYBVARCHAR
55                 Money = 0x3c,           // SYBMONEY
56                 NText = 0x63,           // SYBNTEXT
57                 NVarChar = 0x67,        // SYBNVARCHAR
58                 BitN = 0x68,            // SYBBITN
59                 Numeric = 0x6c,         // SYBNUMERIC
60                 MoneyN = 0x6e,          // SYBMONEYN
61                 Money4 = 0x70,
62                 NChar = 0xef,           // XSYBNCHAR
63                 BigBinary = 0xad,       // XSYBBINARY
64                 BigVarBinary = 0xa5,    // XSYBVARBINARY
65                 BigVarChar = 0xa7,      // XSYBVARCHAR
66                 BigNVarChar = 0xe7,     // XSYBNVARCHAR
67                 BigChar = 0xaf,         // XSYBCHAR
68                 SmallMoney = 0x7a,      // SYBMONEY4
69                 Variant = 0x62,         // SYBVARIANT
70                 BigInt = 0x7F           // SYBINT8
71         }
72 }