FireDAC.Stan.Param.TFDParam.SetDataSet

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetDataSet(ADataset: TDataSet; AOwner: Boolean = True;  AIndex: Integer = -1);

Properties

Type Visibility Source Unit Parent
procedure public FireDAC.Stan.Param.pas FireDAC.Stan.Param TFDParam

Description

Assigns a dataset object to a parameter.

Use SetDataSet method to assign the TDataSet object to the TFDParam. Set AOwner to True to specify that this parameter will be the owner of the dataset object. Set AIndex to the index of dataset item for the array-valued parameter.

SetDataSet sets the DataType property to ftDataSet.

See Also