Datasnap.DBClient.TCustomClientDataSet.IndexDefs
Delphi
property IndexDefs: TIndexDefs read GetIndexDefs write SetIndexDefs stored FStoreDefs;
C++
__property Data::Db::TIndexDefs* IndexDefs = {read=GetIndexDefs, write=SetIndexDefs, stored=FStoreDefs};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TCustomClientDataSet |
Description
Contains information about the indexes for a client dataset.
Examine IndexDefs for index information. IndexDefs maintains an array of TIndexDef items, each of which describes an available index for the dataset. Set the value of IndexDefs before calling CreateDataSet to create a set of indexes with the client dataset.
Note: The index items in IndexDefs may not always reflect the current indexes available for a dataset. Before examining IndexDefs, call the IndexDefs.Update (Delphi) or IndexDefs->Update (C++) method to refresh the item list.