Datasnap.DBClient.TCustomClientDataSet.StoreDefs

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: protected
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

property StoreDefs: Boolean read FStoreDefs write FStoreDefs default False;

C++

__property bool StoreDefs = {read=FStoreDefs, write=FStoreDefs, default=0};

Description

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.

See Also