FireDAC.Stan.Option.TFDFetchOptions.DetailCascade

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DetailCascade: Boolean read GetDetailCascade

C++

__property bool DetailCascade = {read=GetDetailCascade, write=SetDetailCascade, stored=IsDCS, default=0};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDFetchOptions

Description

Controls the propagation of a master dataset changes to a detail dataset in Centralized Cached Updates mode.

Set the DetailCascade property to True to enable the propagation of a master dataset changes to a detail dataset in Centralized Cached Updates mode. 

Setting DetailCascade to True has an effect, when the master and detail datasets SchemaAdapter property points to the same TFDSchemaAdapter. Setting DetailCascade to True enables an in-memory referential constraint for a detail dataset.

You can also use DetailServerCascade to control whether FireDAC posts client-side cascading changes to the database. You use DetailServerCascade together with FetchOptions.DetailCascade.

See Also