EntityDAC

TMetaType.AllowCaching Property

Allows to enable or disable entity caching.

Class

TMetaType

Syntax

property AllowCaching: boolean;

Remarks

If Enabled is set to True, then caching of entities having this meta-type is enabled, and on attempt to retrieve an entity (entity list) for the second time using GetEntity or GetEntities methods, the corresponding entities will be taken from the cache.

If set to False, then caching of entities having this meta-type is disabled, and using GetEntity or GetEntities methods will return entities from the database every time.

True by default.

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback