FireDAC.Comp.Client.TFDCustomConnection.DataSets
Delphi
property DataSets[AIndex: Integer]: TFDDataSet read GetADDataSet;
C++
__property Firedac::Comp::Dataset::TFDDataSet* DataSets[int AIndex] = {read=GetADDataSet};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomConnection |
Description
Returns the associated TFDDataSet objects.
The DataSets indexed property returns a prepared (State <> csInactive)
TFDRdbmsDataSet object associated, by its index, with this connection object.
Example
var
i: Integer;
...
for i := FDConnection1.DataSetCount - 1 downto 0 do
FDConnection1.DataSets[i].Disconnect(True);