GetLockMode Method
NPersistence Reference Guide
Get the current lock mode for the query.

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

Syntax

   
 C# 
LockModeType GetLockMode()

Return Value

lock mode

Exceptions

ExceptionCondition
System..::..InvalidOperationException if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query

See Also