FireDAC.Stan.Option.TFDUpdateOptions.RefreshDelete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RefreshDelete: Boolean read GetRefreshDelete write SetRefreshDelete

C++

__property bool RefreshDelete = {read=GetRefreshDelete, write=SetRefreshDelete, stored=IsRDS, default=1};

Properties

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

Description

Specifies whether a dataset should delete a record locally when a database record is not found at refreshing.

Use the RefreshDelete property to allow a dataset to delete a record from a local storage, when a corresponding database record is not found at RefreshRecord call. The default value is True. The most probable reason why the record is not found - it is deleted. There may be other reasons as well. To delete the record, set this property to True. To leave the record as it is, set this property to False. For additional details, see the description of the RefreshRecord method.

See Also