NPersistence Reference Guide
Set the maximum number of results to retrieve.

Namespace: NPersistence
Assembly: 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

ExceptionCondition
System..::..ArgumentException if the argument is negative

See Also