A locking strategy where the locks are obtained through select statements.
Namespace: NHibernate.Dialect.LockAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public class SelectLockingStrategy : ILockingStrategy |
Visual Basic |
---|
Public Class SelectLockingStrategy _ Implements ILockingStrategy |
Visual C++ |
---|
public ref class SelectLockingStrategy : ILockingStrategy |
Remarks
For non-read locks, this is achieved through the Dialect's specific
SELECT ... FOR UPDATE syntax.