Datasnap.DBClient.TCustomClientDataSet.StoreDefs

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StoreDefs: Boolean read FStoreDefs write FStoreDefs default False;

C++

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

Properties

Type Visibility Source Unit Parent
property protected
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

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