Set the lockmode for the objects idententified by the given alias that appears in the FROM clause.

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

Syntax

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

Parameters

alias
Type: System..::..String
alias a query alias, or this for a collection filter
lockMode
Type: NHibernate..::..LockMode

[Missing <param name="lockMode"/> documentation for "M:NHibernate.IDetachedQuery.SetLockMode(System.String,NHibernate.LockMode)"]

See Also