Table of Contents

TObjectManager.CachedUpdates Property

Gets or sets whether SQL statements are deferred until ApplyUpdates is called.

Remarks

When True, persistence operations (Save, Flush, Remove) do not immediately execute SQL statements. Instead the statements are queued and executed in batch when ApplyUpdates is called. This enables optimized bulk operations when combined with the BatchSize property. Note that INSERT statements for entities with database-generated identifiers may still be executed immediately, as the generated identifier is needed for subsequent operations.

Syntax

Unit: Aurelius.Engine.ObjectManager

property TObjectManager.CachedUpdates: Boolean

See also