NPersistence Reference Guide
Set the lock mode type to be used for the query execution. lock mode

Return Value

the same query instance if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
TypedQuery<X> SetLockMode(
	LockModeType lockMode
)

Parameters

lockMode
LockModeType

See Also