Data.DB.TParam.Create
Delphi
constructor Create(Collection: TCollection); overload; override;
constructor Create(AParams: TParams; AParamType: TParamType); reintroduce; overload;
C++
__fastcall virtual TParam(System::Classes::TCollection* Collection)/* overload */;
__fastcall TParam(TParams* AParams, TParamType AParamType)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Data.DB.pas Data.DB.hpp |
Data.DB | TParam |
Description
Creates an instance of TParam and inserts it in a parameter list.
Call Create to instantiate a TParam object. TParam objects are usually created by the dataset that uses them to represent its field parameters.
AParams is the TParams object to which the parameter belongs.
AParamType indicates how the parameter is to be used. It becomes the value of the ParamType property.
Collection is the TParams object to which the parameter belongs.