Determine the current lock mode of the given object

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

Syntax

C#
LockMode GetCurrentLockMode(
	Object obj
)
Visual Basic
Function GetCurrentLockMode ( _
	obj As Object _
) As LockMode
Visual C++
LockMode^ GetCurrentLockMode(
	Object^ obj
)

Parameters

obj
Type: System..::..Object
A persistent instance

Return Value

The current lock mode

See Also