Datasnap.DSProxyWriter.TDSCustomProxyWriter.GetDelphiTypeName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.DSProxyWriter.pas
Datasnap.DSProxyWriter.hpp
Unit: Datasnap.DSProxyWriter
Parent: TDSCustomProxyWriter

Delphi

function GetDelphiTypeName(const Param: TDSProxyParameter): string; virtual;

C++

virtual System::UnicodeString __fastcall GetDelphiTypeName(Datasnap::Dscommonproxy::TDSProxyParameter* const Param);

Description

Returns a string with the name of the Delphi type of the given parameter.

The GetDelphiTypeName method returns a string with the name of the Delphi type specified through Param. The possible return values are listed in the following table:

Parameter Return value

TDBXDataTypes.AnsiStringType

'AnsiString'

TDBXDataTypes.BooleanType

'Boolean'

TDBXDataTypes.Int8Type

'ShortInt'

TDBXDataTypes.UInt8Type

'Byte'

TDBXDataTypes.Int16Type

'SmallInt'

TDBXDataTypes.UInt16Type

'Word'

TDBXDataTypes.Int32Type

'Integer'

TDBXDataTypes.Int64Type

'Int64'

TDBXDataTypes.WideStringType

'String'

TDBXDataTypes.SingleType

'Single'

TDBXDataTypes.DoubleType

'Double'

TDBXDataTypes.BcdType

'TBcd'

TDBXDataTypes.TimeType

'TDBXTime'

TDBXDataTypes.DatetimeType

'TDateTime'

TDBXDataTypes.DateType

'TDBXDate'

TDBXDataTypes.TimeStampType

'TSQLTimeStamp'

TDBXDataTypes.TimeStampOffsetType

'TSQLTimeStampOffset'

TDBXDataTypes.CurrencyType

'Currency'

TDBXDataTypes.TableType

'TDBXReader'

TDBXDataTypes.BinaryBlobType

'TStream'

TDBXDataTypes.VariantType

'Variant'

TDBXDataTypes.DbxConnectionType

'TDBXConnection'

Unknown parameter type

'{UnknownType(' + IntToStr(Param.DataType) + ')}'

See Also