Skip to content

TParam.Create

Create a new parameter value.

Declaration

Source position: db.pas line 1453

public 
constructor Create(ACollection: TCollection);  override;  overload; overload;

constructor Create(AParams: TParams; AParamType: TParamType)
                  ;  reintroduce;  overload; overload;

Description

Create first calls the inherited create, and then initializes the parameter properties. The first form creates a default parameter, the second form is a convenience function and initializes a parameter of a certain kind (AParamType), in which case the owning TParams collection must be specified in AParams

See also

Name Description
TParams A collection of parameter values for SQL-based datasets.