Instances represent a lock mode for a row of a relational database table.

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

Syntax

C#
[SerializableAttribute]
public sealed class LockMode
Visual Basic
<SerializableAttribute> _
Public NotInheritable Class LockMode
Visual C++
[SerializableAttribute]
public ref class LockMode sealed

Remarks

It is not intended that users spend much time worrying about locking since Hibernate usually obtains exactly the right lock level automatically. Some "advanced" users may wish to explicitly specify lock levels.

Inheritance Hierarchy

System..::..Object
  NHibernate..::..LockMode

See Also