Contract for things that can be locked via a ILockingStrategy.

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

Syntax

C#
public interface ILockable : IEntityPersister, 
	IOptimisticCacheSource
Visual Basic
Public Interface ILockable _
	Inherits IEntityPersister, IOptimisticCacheSource
Visual C++
public interface class ILockable : IEntityPersister, 
	IOptimisticCacheSource

Remarks

Currently only the root table gets locked, except for the case of HQL and Criteria queries against dialects which do not support either (1) FOR UPDATE OF or (2) support hint locking (in which case *all* queried tables would be locked).

See Also