Append FOR UPDATE OF clause, if necessary. This empty superclass implementation merely returns its first argument.

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

Syntax

C#
protected virtual SqlString ApplyLocks(
	SqlString sql,
	IDictionary<string, LockMode> lockModes,
	Dialect dialect
)
Visual Basic
Protected Overridable Function ApplyLocks ( _
	sql As SqlString, _
	lockModes As IDictionary(Of String, LockMode), _
	dialect As Dialect _
) As SqlString
Visual C++
protected:
virtual SqlString^ ApplyLocks(
	SqlString^ sql, 
	IDictionary<String^, LockMode^>^ lockModes, 
	Dialect^ dialect
)

Parameters

sql
Type: NHibernate.SqlCommand..::..SqlString

[Missing <param name="sql"/> documentation for "M:NHibernate.Loader.Loader.ApplyLocks(NHibernate.SqlCommand.SqlString,System.Collections.Generic.IDictionary{System.String,NHibernate.LockMode},NHibernate.Dialect.Dialect)"]

lockModes
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, LockMode>)>)>

[Missing <param name="lockModes"/> documentation for "M:NHibernate.Loader.Loader.ApplyLocks(NHibernate.SqlCommand.SqlString,System.Collections.Generic.IDictionary{System.String,NHibernate.LockMode},NHibernate.Dialect.Dialect)"]

dialect
Type: NHibernate.Dialect..::..Dialect

[Missing <param name="dialect"/> documentation for "M:NHibernate.Loader.Loader.ApplyLocks(NHibernate.SqlCommand.SqlString,System.Collections.Generic.IDictionary{System.String,NHibernate.LockMode},NHibernate.Dialect.Dialect)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Loader.Loader.ApplyLocks(NHibernate.SqlCommand.SqlString,System.Collections.Generic.IDictionary{System.String,NHibernate.LockMode},NHibernate.Dialect.Dialect)"]

See Also