Datasnap.DSCustomConnectorProxyWriter.TDSCustomConnectorProxyWriter.GetSetter
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.
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 | 
|---|---|
| Unknown parameter type | 'Cannot Set Setter for DataType UNKNOWN' | 
| TDBXDataTypes.AnsiStringType | 'SetAsAnsiString' | 
| TDBXDataTypes.DateType | 'SetAsTDBXDate' | 
| TDBXDataTypes.BlobType | 'SetAsBlob' | 
| TDBXDataTypes.BooleanType | 'SetAsBoolean' | 
| TDBXDataTypes.Int16Type | 'SetAsInt16' | 
| TDBXDataTypes.Int32Type | 'SetAsInt32' | 
| TDBXDataTypes.DoubleType | 'SetAsDouble' | 
| TDBXDataTypes.BcdType | 'SetAsBcd' | 
| TDBXDataTypes.BytesType | 'SetAsBytes' | 
| TDBXDataTypes.TimeType | 'SetAsTDBXTime' | 
| TDBXDataTypes.DatetimeType | 'SetAsDateTime' | 
| TDBXDataTypes.UInt16Type | 'SetAsUInt16' | 
| TDBXDataTypes.UInt32Type | 'SetAsUInt32' | 
| TDBXDataTypes.Int64Type | 'SetAsInt64' | 
| TDBXDataTypes.UInt64Type | 'SetAsUInt64' | 
| TDBXDataTypes.TableType | 'SetAsTable' | 
| TDBXDataTypes.TimeStampType | 'SetAsTimeStamp' | 
| TDBXDataTypes.CurrencyType | 'SetAsCurrency' | 
| TDBXDataTypes.WideStringType | 'SetAsString' | 
| TDBXDataTypes.SingleType | 'SetAsSingle' | 
| TDBXDataTypes.Int8Type | 'SetAsInt8' | 
| TDBXDataTypes.UInt8Type | 'SetAsUInt8' | 
| TDBXDataTypes.ObjectType | 'SetAsObject' | 
| TDBXDataTypes.BinaryBlobType | 'SetAsStream' | 
| TDBXDataTypes.JsonValueType | 'SetAsJSONValue' | 
| TDBXDataTypes.MaxBaseType | '<NOT SUPPORTED MaxBase>' | 
| Other TDBXDataTypes | '<WARNING! Type 'TDBXDataTypes TypeName' is not supported>' |