//******************************************************* // // Delphi DataSnap Framework // // Copyright(c) 1995-2011 Embarcadero Technologies, Inc. // //******************************************************* #import /** * Those are the types supported by the Datasnap server. */ typedef enum { // / Data types supported by DBX. // / UnknownType = 0, // /8 bit Ansi String AnsiStringType = 1, // /32 bit Date DateType = 2, // /Blob with a subtype BlobType = 3, // /16 big Boolean BooleanType = 4, // /16 bit signed integer Int16Type = 5, // /32 bit signed integer Int32Type = 6, // /64 bit floating point DoubleType = 7, // /TBcd decimal from the FMTBcd unit BcdType = 8, /* { BCD } */ // /Fixed length byte array BytesType = 9, // /32 bit Time TimeType = 10, // /TDateTime // / Internally managed as a TDBXDataTypes.TimeStampType // / DateTimeType = 11, /* { Time-stamp (64 bit) } */ // /Unsigned 16 bit integer UInt16Type = 12, // /Unsigned 32 bit integer UInt32Type = 13, // /// // FLOATIEEE = 14; { 80-bit IEEE float } // /Variable length byte array with maximum length of 64 // kilobytes VarBytesType = 15, // /// // LOCKINFO = 16; { Look for LOCKINFO typedef } // /Oracle cursor type CursorType = 17, // /64 bit integer Int64Type = 18, // /unsigned 64 bit integer UInt64Type = 19, // /Abstract data type AdtType = 20, // /Array data type ArrayType = 21, // /Reference data type RefType = 22, // /Nested table data type TableType = 23, // /TSQLTimeStamp in the SqlTimSt unit TimeStampType = 24, // /Delphi Currency data type in System unit. // / Internally managed as a TDBXDataTypes.BCDType // / CurrencyType = 25, // /UCS2 unicode string WideStringType = 26, // /32 bit floating point SingleType = 27, // /8 bit signed integer Int8Type = 28, // /8 bit unsigned integer UInt8Type = 29, // /Object serialization ObjectType = 30, // /Character array CharArrayType = 31, // /Time Interval IntervalType = 32, // /BinaryBlobType equivalent to BlobType with a // /BinarySubType sub type/ // / BinaryBlobType = 33, // / // / DBXConnection type for DataSnap server methods that receive or set the // server side // / connection. // / DBXConnectionType = 34, // / // / Variant out or return parameter. Not supported as a TDBXReader column. // / VariantType = 35, TimeStampOffsetType = 36, // /DBX type for a JSON value // / JsonValueType = 37, // / // /DBX type for a callback argument // / CallbackType = 38, // /Maximum number of base types excluding sub types that // / are supported by TDataSet type system. // / MaxBaseTypes = 39, } DBXDataTypes;