FireDAC.Stan.Param.TFDParam.SetObjectValue
Delphi
function SetObjectValue(const AInstance: TObject; const ADataType: TFieldType;
AOwner: Boolean = True; AIndex: Integer = -1): IParamObject;
C++
Data::Db::_di_IParamObject __fastcall SetObjectValue(System::TObject* const AInstance, const Data::Db::TFieldType ADataType, bool AOwner = true, int AIndex = 0xffffffff);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Stan.Param.pas FireDAC.Stan.Param.hpp |
FireDAC.Stan.Param | TFDParam |
Description
Sets the value of a TFDParam instance to the given object, using the specified ownership flag.
Call the SetObjectValue to set the value of a TFDParam instance to the given object through the AInstance
parameter, using the specified ownership flag specified by AOwner
parameter. The ADataType
parameter specifies the data type of the corresponding field.