We can't immediately add to the cache if we have formulas which must be evaluated, or if we have the possibility of two concurrent updates to the same item being merged on the database. This can happen if (a) the item is not versioned and either (b) we have dynamic update enabled or (c) we have multiple tables holding the state of the item.

Namespace: NHibernate.Persister.Entity
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public bool IsCacheInvalidationRequired { get; }
Visual Basic
Public ReadOnly Property IsCacheInvalidationRequired As Boolean
	Get
Visual C++
public:
virtual property bool IsCacheInvalidationRequired {
	bool get () sealed;
}

Implements

IEntityPersister..::..IsCacheInvalidationRequired

See Also