Set the lock mode of the aliased entity

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

Syntax

C#
ICriteria SetLockMode(
	string alias,
	LockMode lockMode
)
Visual Basic
Function SetLockMode ( _
	alias As String, _
	lockMode As LockMode _
) As ICriteria
Visual C++
ICriteria^ SetLockMode(
	String^ alias, 
	LockMode^ lockMode
)

Parameters

alias
Type: System..::..String
an alias
lockMode
Type: NHibernate..::..LockMode
the lock mode

Return Value

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

See Also