FireDAC.Comp.Client.TFDRdbmsDataSet.SchemaAdapter

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDRdbmsDataSet

Delphi

property SchemaAdapter: TFDCustomSchemaAdapter read GetSchemaAdapter write SetSchemaAdapter;

C++

__property TFDCustomSchemaAdapter* SchemaAdapter = {read=GetSchemaAdapter, write=SetSchemaAdapter};

Description

Gets or sets a reference to a schema adapter as a Centralized Cached Updates log.

Use the SchemaAdapter property to set a reference to the TFDSchemaAdapter object to enable Centralized Cached Updates mode. The schema adapter object will be used as a central change log shared by several datasets. 

To enable propagation of master dataset changes to a detail dataset, set FetchOptions.DetailCascade to True for a detail dataset. Both master and detail datasets must point to the same TFDSchemaAdapter object.

See Also