[bcl] Updates referencesource to 4.7.1
[mono-project.git] / mcs / class / referencesource / System.Data / System / Data / SqlDbType.cs
blob30322f22ffa5dcda7295a0578be4a7d901e66af1
1 //------------------------------------------------------------------------------
2 // <copyright file="SqlDbType.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">blained</owner>
6 // <owner current="true" primary="false">laled</owner>
7 //------------------------------------------------------------------------------
9 namespace System.Data {
11 /* enumeration used to identify data types specific to SQL Server
13 * note that these are a subset of the types exposed by OLEDB so keep the enum values in ssync with
14 * OleDbType values
17 using System;
19 // Specifies the SQL Server data type.
20 public enum SqlDbType {
21 // A 64-bit signed integer.
22 BigInt = 0,
23 Binary = 1,
24 Bit = 2,
25 Char = 3,
26 DateTime = 4,
27 Decimal = 5,
28 Float = 6,
29 Image = 7,
30 Int = 8,
31 Money = 9,
32 NChar = 10,
33 NText = 11,
34 NVarChar = 12,
35 Real = 13,
36 UniqueIdentifier = 14,
37 SmallDateTime = 15,
38 SmallInt = 16,
39 SmallMoney = 17,
40 Text = 18,
41 Timestamp = 19,
42 TinyInt = 20,
43 VarBinary = 21,
44 VarChar = 22,
45 Variant = 23,
46 Xml = 25,
47 Udt = 29,
48 Structured = 30,
49 Date = 31,
50 Time = 32,
51 DateTime2 = 33,
52 DateTimeOffset = 34,