API:Datasnap.DSCustomConnectorProxyWriter.TDSCustomConnectorProxyWriter.GetGetter
| [–] 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.
Datasnap.DSCustomConnectorProxyWriter.TDSCustomConnectorProxyWriter.GetGetter inherits from Datasnap.DSProxyWriter.TDSCustomProxyWriter.GetGetter. All content below this line refers to Datasnap.DSProxyWriter.TDSCustomProxyWriter.GetGetter.
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 |
|---|---|
|
TDBXDataTypes.AnsiStringType |
'GetAnsiString' |
|
TDBXDataTypes.BooleanType |
'GetBoolean' |
|
TDBXDataTypes.Int8Type |
'GetInt8' |
|
TDBXDataTypes.UInt8Type |
'GetUInt8' |
|
TDBXDataTypes.Int16Type |
'GetInt16' |
|
TDBXDataTypes.UInt16Type |
'GetUInt16' |
|
TDBXDataTypes.Int32Type |
'GetInt32' |
|
TDBXDataTypes.Int64Type |
'GetInt64' |
|
TDBXDataTypes.WideStringType |
'GetWideString' |
|
TDBXDataTypes.SingleType |
'GetSingle' |
|
TDBXDataTypes.DoubleType |
'GetDouble' |
|
TDBXDataTypes.BcdType |
'GetBcd' |
|
TDBXDataTypes.TimeType |
'GetTime' |
|
TDBXDataTypes.DatetimeType |
'AsDateTime' |
|
TDBXDataTypes.DateType |
'GetDate' |
|
TDBXDataTypes.TimeStampType |
'GetTimeStamp' |
|
TDBXDataTypes.TimeStampOffsetType |
'GetTimeStampOffset' |
|
TDBXDataTypes.CallbackType |
'GetCallbackValue' |
|
TDBXDataTypes.JsonValueType |
'GetJSONValue' |
|
TDBXDataTypes.CurrencyType |
'AsCurrency' |
|
TDBXDataTypes.TableType |
'GetDBXReader' |
|
TDBXDataTypes.BinaryBlobType |
'GetStream' |
|
TDBXDataTypes.VariantType |
'AsVariant' |
|
Unknown parameter type |
'{UnknownType(' + IntToStr(Param.DataType) + ')}' |