NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Set the lock mode type to be used for the query execution.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
Query SetLockMode( LockModeType lockMode )
Parameters
- lockMode
- LockModeType
lock mode
Return Value
the same query instanceExceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query |