Set the lock mode of the current entity

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

Syntax

C#
ICriteria SetLockMode(
	LockMode lockMode
)
Visual Basic
Function SetLockMode ( _
	lockMode As LockMode _
) As ICriteria
Visual C++
ICriteria^ SetLockMode(
	LockMode^ lockMode
)

Parameters

lockMode
Type: NHibernate..::..LockMode
the lock mode

Return Value

[Missing <returns> documentation for "M:NHibernate.ICriteria.SetLockMode(NHibernate.LockMode)"]

See Also