Datasnap.Provider.TCustomProvider.InternalGetParams
Delphi
function InternalGetParams(Types: TParamTypes = AllParamTypes): OleVariant; virtual;
C++
virtual System::OleVariant __fastcall InternalGetParams(Data::Db::TParamTypes Types = (Data::Db::TParamTypes() << Data::Db::TParamType::ptUnknown << Data::Db::TParamType::ptInput << Data::Db::TParamType::ptOutput << Data::Db::TParamType::ptInputOutput << Data::Db::TParamType::ptResult ));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TCustomProvider |
Description
Returns the requested parameter values as a Variant array.
TCustomProvider uses InternalGetParams internally whenever it needs to assemble the current parameter values into an OleVariant. This provides the underlying implementation of the GetParams method, as well as assembling parameter values for methods that return output parameters (such as Execute or GetRecords).
The Types parameter limits the parameter values that are returned to a subset of all possible parameter types. If this parameter is omitted, all parameter values are returned.
As implemented in TCustomProvider, InternalGetParams always returns NULL. Descendants override this method to return the requested parameter values.