Datasnap.DSCustomConnectorProxyWriter.TDSCustomConnectorProxyWriter.GetGetter

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

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

C++

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

Description

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

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

Parameter Return value

Unknown parameter type

'Cannot get getter for DataType UNKNOWN'

TDBXDataTypes.AnsiStringType

'GetAsAnsiString'

TDBXDataTypes.DateType

'GetAsTDBXDate'

TDBXDataTypes.BlobType

'GetAsBlob'

TDBXDataTypes.BooleanType

'GetAsBoolean'

TDBXDataTypes.Int16Type

'GetAsInt16'

TDBXDataTypes.Int32Type

'GetAsInt32'

TDBXDataTypes.DoubleType

'GetAsDouble'

TDBXDataTypes.BcdType

'GetAsBcd'

TDBXDataTypes.BytesType

'GetAsBytes'

TDBXDataTypes.TimeType

'GetAsTDBXTime'

TDBXDataTypes.DatetimeType

'GetAsDateTime'

TDBXDataTypes.UInt16Type

'GetAsUInt16'

TDBXDataTypes.UInt32Type

'GetAsUInt32'

TDBXDataTypes.VarBytesType

'<NOT SUPPORTED VARBYTES>'

TDBXDataTypes.CursorType

'<NOT SUPPORTED CURSOR>'

TDBXDataTypes.Int64Type

'GetAsInt64'

TDBXDataTypes.UInt64Type

'GetAsUInt64'

TDBXDataTypes.AdtType

'<NOT SUPPORTED ADT>'

TDBXDataTypes.ArrayType

'<NOT SUPPORTED ARRAY>'

TDBXDataTypes.RefType

'<NOT SUPPORTED REF>'

TDBXDataTypes.TableType

'GetAsTable'

TDBXDataTypes.TimeStampType

'GetAsTimeStamp'

TDBXDataTypes.CurrencyType

'GetAsCurrency'

TDBXDataTypes.WideStringType

'GetAsString'

TDBXDataTypes.SingleType

'GetAsSingle'

TDBXDataTypes.Int8Type

'GetAsInt8'

TDBXDataTypes.UInt8Type

'GetAsUInt8'

TDBXDataTypes.ObjectType

'GetAsObject'

TDBXDataTypes.CharArrayType

'<NOT SUPPORTED CHARARRAY>'

TDBXDataTypes.IntervalType

'<NOT SUPPORTED INTERVAL>'

TDBXDataTypes.BinaryBlobType

'GetAsStream'

TDBXDataTypes.DBXConnectionType

'<NOT SUPPORTED DBXConnection>'

TDBXDataTypes.VariantType

'GetAsVariant'

TDBXDataTypes.TimeStampOffsetType

'<NOT SUPPORTED TimeStampOffset>'

TDBXDataTypes.JsonValueType

'GetAsJSONValue'

TDBXDataTypes.CallbackType

'<NOT SUPPORTED Callback>'

TDBXDataTypes.MaxBaseType

'<NOT SUPPORTED MaxBase>'

None of the above

'<NOT SUPPORTED ???>'

See Also