API:Datasnap.DSCustomConnectorProxyWriter.TDSCustomConnectorProxyWriter.GetSetter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetSetter(Param: TDSProxyParameter): string; virtual;

C++

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

Properties

Type Visibility Source Unit Parent
function protected
Datasnap.DSCustomConnectorProxyWriter.pas
Datasnap.DSCustomConnectorProxyWriter.hpp
Datasnap.DSCustomConnectorProxyWriter TDSCustomConnectorProxyWriter

Description

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

Datasnap.DSCustomConnectorProxyWriter.TDSCustomConnectorProxyWriter.GetSetter inherits from Datasnap.DSProxyWriter.TDSCustomProxyWriter.GetSetter. All content below this line refers to Datasnap.DSProxyWriter.TDSCustomProxyWriter.GetSetter.

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