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#
IQueryOverLockBuilder<TRoot, TSubType> Lock(
	Expression<Func<Object>> alias
)
Visual Basic
Function Lock ( _
	alias As Expression(Of Func(Of Object)) _
) As IQueryOverLockBuilder(Of TRoot, TSubType)
Visual C++
IQueryOverLockBuilder<TRoot, TSubType>^ Lock(
	Expression<Func<Object^>^>^ alias
)

Parameters

alias
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'Object>)>)>>)>)>

[Missing <param name="alias"/> documentation for "M:NHibernate.IQueryOver`2.Lock(System.Linq.Expressions.Expression{System.Func{System.Object}})"]

Return Value

[Missing <returns> documentation for "M:NHibernate.IQueryOver`2.Lock(System.Linq.Expressions.Expression{System.Func{System.Object}})"]

See Also