NPersistence Reference Guide
Execute a SELECT query that returns a single result.

Return Value

the result if there is no result if more than one result if called for a Java Persistence query language UPDATE or DELETE statement if the query execution exceeds the query timeout value set and only the statement is rolled back if a lock mode has been set and there is no transaction if pessimistic locking fails and the transaction is rolled back if pessimistic locking fails and only the statement is rolled back if the query execution exceeds the query timeout value set and the transaction is rolled back

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

Syntax

   
 C# 
X GetSingleResult()

See Also