FireDAC.Comp.Client.TFDCustomManager.RefreshMetadataCache
Delphi
procedure RefreshMetadataCache;
C++
void __fastcall RefreshMetadataCache();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomManager |
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.