FireDAC.Comp.Client.TFDCustomManager.RefreshMetadataCache

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomManager

Delphi

procedure RefreshMetadataCache;

C++

void __fastcall RefreshMetadataCache();

Description

Invalidates the metadata cache for all connections.

The RefreshMetadataCache method discards all cached metadata, such as the stored procedure definitions and the table primary keys for all TFDCustomConnection instances. Call this method if the DB metadata has been changed, so the cached metadata is invalid. The metadata is cached by datasets if fiMeta is included into FetchOptions.Cache.

See Also