Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TParams.Create

Create a new instance of TParams.

Declaration

Source position: db.pas line 1536

public constructor TParams.Create(

  AOwner: TPersistent;

  AItemClass: TCollectionItemClass

); overload;

constructor TParams.Create(

  AOwner: TPersistent

); overload;

constructor TParams.Create; overload;

Arguments

AOwner

  

Owner of the collection.

AItemClass

  

Item class to use for this TParams instance.

Arguments

AOwner

  

Owner of the collection.

Description

Create initializes a new instance of TParams. It calls the inherited constructor with TParam as the collection's item class, and sets AOwner as the owner of the collection. Usually, AOwner will be the dataset that needs parameters.

See also

#rtl.classes.TCollection.create

TParam

  

Parameter description class.


Documentation generated on: Dec 27 2024