Datasnap.DSProxyWriter.TDSCustomProxyWriter.GetSetter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetSetter(const Param: TDSProxyParameter): string;

C++

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

Properties

Type Visibility Source Unit Parent
function protected
Datasnap.DSProxyWriter.pas
Datasnap.DSProxyWriter.hpp
Datasnap.DSProxyWriter TDSCustomProxyWriter

Description

Returns a string with the setter name of the specified Delphi type.

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

Parameter Return value

TDBXDataTypes.AnsiStringType

'SetAnsiString'

TDBXDataTypes.BooleanType

'SetBoolean'

TDBXDataTypes.Int8Type

'SetInt8'

TDBXDataTypes.UInt8Type

'SetUInt8'

TDBXDataTypes.Int16Type

'SetInt16'

TDBXDataTypes.UInt16Type

'SetUInt16'

TDBXDataTypes.Int32Type

'SetInt32'

TDBXDataTypes.Int64Type

'SetInt64'

TDBXDataTypes.WideStringType

'SetWideString'

TDBXDataTypes.SingleType

'SetSingle'

TDBXDataTypes.DoubleType

'SetDouble'

TDBXDataTypes.BcdType

'SetBcd'

TDBXDataTypes.TimeType

'SetTime'

TDBXDataTypes.DatetimeType

'AsDateTime'

TDBXDataTypes.DateType

'SetDate'

TDBXDataTypes.TimeStampType

'SetTimeStamp'

TDBXDataTypes.TimeStampOffsetType

'SetTimeStampOffset'

TDBXDataTypes.CallbackType

'SetCallbackValue'

TDBXDataTypes.JsonValueType

'SetJSONValue'

TDBXDataTypes.CurrencyType

'AsCurrency'

TDBXDataTypes.TableType

'SetDBXReader'

TDBXDataTypes.BinaryBlobType

'SetStream'

TDBXDataTypes.VariantType

'AsVariant'

Unknown parameter type

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

See Also