Given a lock mode, determine the appropriate for update fragment to use.

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

Syntax

C#
public virtual string GetForUpdateString(
	LockMode lockMode
)
Visual Basic
Public Overridable Function GetForUpdateString ( _
	lockMode As LockMode _
) As String
Visual C++
public:
virtual String^ GetForUpdateString(
	LockMode^ lockMode
)

Parameters

lockMode
Type: NHibernate..::..LockMode
The lock mode to apply.

Return Value

The appropriate for update fragment.

See Also