NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Execute a SELECT query and return the query results
as an untyped List.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
IList GetResultList()
Return Value
a list of the resultsExceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | if called for a Java Persistence query language UPDATE or DELETE statement |
NPersistence..::..QueryTimeoutException | if the query execution exceeds the query timeout value set and only the statement is rolled back |
NPersistence..::..TransactionRequiredException | if a lock mode has been set and there is no transaction |
NPersistence..::..PessimisticLockException | if pessimistic locking fails and the transaction is rolled back |
NPersistence..::..LockTimeoutException | if pessimistic locking fails and only the statement is rolled back |
NPersistence..::..PersistenceException | if the query execution exceeds the query timeout value set and the transaction is rolled back |