FireDAC.Stan.Param.TFDParams.CreateParam
Delphi
function CreateParam(AFldType: TFieldType; const AParamName: String;
AParamType: TParamType): TFDParam;
C++
TFDParam* __fastcall CreateParam(Data::Db::TFieldType AFldType, const System::UnicodeString AParamName, Data::Db::TParamType AParamType);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Stan.Param.pas FireDAC.Stan.Param.hpp |
FireDAC.Stan.Param | TFDParams |
Description
Creates a TFDParam object.
Use the CreateParam method to add a TFDParam object with the DataType property set to the value assigned by AFldType
parameter, the ParamType property set to the value assigned by AParamType
parameter, and the name given by AParamName
parameter to the existing TFDParams collection.