API:Datasnap.DBClient.TClientDataSet.StoreDefs
Delphi
property StoreDefs: Boolean read FStoreDefs write FStoreDefs default 0;
C++
__property StoreDefs = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TClientDataSet |
Description
Indicates whether field and index definitions are saved with the client dataset.
Datasnap.DBClient.TClientDataSet.StoreDefs inherits from Datasnap.DBClient.TCustomClientDataSet.StoreDefs. All content below this line refers to Datasnap.DBClient.TCustomClientDataSet.StoreDefs.
Indicates whether field and index definitions are saved with the client dataset.
If StoreDefs is True, the client dataset's index and field definitions are stored with the client dataset when the form or data module that contains it is saved. Setting StoreDefs to True makes the CreateDataSet method into a one-step procedure that creates fields and indexes at run time.