public void Execute(IExecutable executable) { bool lockQueryCache = session.Factory.Settings.IsQueryCacheEnabled; if (executable.HasAfterTransactionCompletion() || lockQueryCache) { executions.Add(executable); } if (lockQueryCache) { session.Factory.UpdateTimestampsCache.PreInvalidate(executable.PropertySpaces); } executable.Execute(); }