3 namespace System.Data.Common
\r
5 internal class DbTypes
\r
8 #region java.sql.Types constants
\r
10 internal enum JavaSqlTypes {
\r
26 JAVA_OBJECT = 2000,
\r
41 // NOTSET = int.MinValue
\r
45 #endregion // java.sql.Types constants
\r
48 #region .Net types constants
\r
50 internal static readonly Type TypeOfBoolean = typeof(Boolean);
\r
51 internal static readonly Type TypeOfSByte = typeof(SByte);
\r
52 internal static readonly Type TypeOfChar = typeof(Char);
\r
53 internal static readonly Type TypeOfInt16 = typeof(Int16);
\r
54 internal static readonly Type TypeOfInt32 = typeof(Int32);
\r
55 internal static readonly Type TypeOfInt64 = typeof(Int64);
\r
56 internal static readonly Type TypeOfByte = typeof(Byte);
\r
57 internal static readonly Type TypeOfUInt16 = typeof(UInt16);
\r
58 internal static readonly Type TypeOfUInt32 = typeof(UInt32);
\r
59 internal static readonly Type TypeOfUInt64 = typeof(UInt64);
\r
60 internal static readonly Type TypeOfDouble = typeof(Double);
\r
61 internal static readonly Type TypeOfSingle = typeof(Single);
\r
62 internal static readonly Type TypeOfDecimal = typeof(Decimal);
\r
63 internal static readonly Type TypeOfString = typeof(String);
\r
64 internal static readonly Type TypeOfDateTime = typeof(DateTime);
\r
65 internal static readonly Type TypeOfObject = typeof(object);
\r
66 internal static readonly Type TypeOfGuid = typeof(Guid);
\r
67 internal static readonly Type TypeOfType = typeof(Type);
\r
70 internal static readonly Type TypeOfByteArray = typeof(Byte[]);
\r
71 internal static readonly Type TypeOfFloat = typeof (float);
\r
72 internal static readonly Type TypeOfTimespan = typeof (TimeSpan);
\r
74 #endregion // .Net types constants
\r