FireDAC.Comp.Client.TFDMemTable.IndexDefs
Delphi
property IndexDefs: TIndexDefs read FIndexDefs write SetIndexDefs stored FStoreDefs;
C++
__property IndexDefs = {stored=FStoreDefs};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDMemTable |
Description
Returns the index definitions for the dataset.
FireDAC.Comp.Client.TFDMemTable.IndexDefs inherits from FireDAC.Comp.DataSet.TFDDataSet.IndexDefs. All content below this line refers to FireDAC.Comp.DataSet.TFDDataSet.IndexDefs.
Returns the index definitions for the dataset.
Use the IndexDefs property to read or maintain index definitions.
The dataset also has an Indexes collection. The application should use either IndexDefs or Indexes, but not both at the same time. We suggest to use Indexes, as it is more flexible. The IndexDefs property is needed for compatibility with other software using TDataSet, where IndexDefs is really defined.
The TFDTable automatically fills IndexDefs by database indexes, if fiMeta
is included in FetchOptions.Items.