A locking strategy where the locks are obtained through select statements.

Namespace: NHibernate.Dialect.Lock
Assembly: 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.

Inheritance Hierarchy

System..::..Object
  NHibernate.Dialect.Lock..::..SelectLockingStrategy

See Also