NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Set the maximum number of results to retrieve.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
| C# |
Query SetMaxResults( int maxResult )
Parameters
- maxResult
- Int32
maximum number of results to retrieve
Return Value
the same query instance
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | if the argument is negative |