Datasnap.DSProxyWriter.TDSCustomProxyWriter.GetGetter
Delphi
function GetGetter(const Param: TDSProxyParameter): string;
C++
System::UnicodeString __fastcall GetGetter(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 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) + ')}' |