2006-02-17 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / class / System.Data / System.Data.Common / DbTypes.cs
1 using System;\r
2 \r
3 namespace System.Data.Common\r
4 {\r
5         internal class DbTypes\r
6         {\r
7                 #region .Net types constants\r
8 \r
9                 internal static readonly Type TypeOfBoolean = typeof(Boolean);\r
10                 internal static readonly Type TypeOfSByte = typeof(SByte);\r
11                 internal static readonly Type TypeOfChar = typeof(Char);\r
12                 internal static readonly Type TypeOfInt16 = typeof(Int16);\r
13                 internal static readonly Type TypeOfInt32 = typeof(Int32);\r
14                 internal static readonly Type TypeOfInt64 = typeof(Int64);\r
15                 internal static readonly Type TypeOfByte = typeof(Byte);\r
16                 internal static readonly Type TypeOfUInt16 = typeof(UInt16);\r
17                 internal static readonly Type TypeOfUInt32 = typeof(UInt32);\r
18                 internal static readonly Type TypeOfUInt64 = typeof(UInt64);\r
19                 internal static readonly Type TypeOfDouble = typeof(Double);\r
20                 internal static readonly Type TypeOfSingle = typeof(Single);\r
21                 internal static readonly Type TypeOfDecimal = typeof(Decimal);\r
22                 internal static readonly Type TypeOfString = typeof(String);\r
23                 internal static readonly Type TypeOfDateTime = typeof(DateTime);                \r
24                 internal static readonly Type TypeOfObject = typeof(object);\r
25                 internal static readonly Type TypeOfGuid = typeof(Guid);\r
26                 internal static readonly Type TypeOfType = typeof(Type);\r
27 \r
28                 // additional types\r
29                 internal static readonly Type TypeOfByteArray = typeof(Byte[]);\r
30                 internal static readonly Type TypeOfFloat = typeof (float);\r
31                 internal static readonly Type TypeOfTimespan = typeof (TimeSpan);\r
32 \r
33                 #endregion // .Net types constants\r
34         }\r
35 }\r