A strategy abstraction for how locks are obtained in the underlying database.
Namespace: NHibernate.Dialect.LockAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public interface ILockingStrategy |
| Visual Basic |
|---|
Public Interface ILockingStrategy |
| Visual C++ |
|---|
public interface class ILockingStrategy |
Remarks
All locking provided implemenations assume the underlying database supports
(and that the connection is in) at least read-committed transaction isolation.
The most glaring exclusion to this is HSQLDB which only offers support for
READ_UNCOMMITTED isolation.