Set the lockmode for the objects idententified by the
given alias that appears in the FROM clause.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub SetLockMode ( _ alias As String, _ lockMode As LockMode _ ) |
C# |
---|
void SetLockMode( string alias, LockMode lockMode ) |
Visual C++ |
---|
void SetLockMode( String^ alias, LockMode^ lockMode ) |
JavaScript |
---|
function setLockMode(alias, lockMode); |
Parameters
- alias
- Type: System..::.String
alias a query alias, or this for a collection filter
- lockMode
- Type: NHibernate..::.LockMode