Returns a portion of the query results (sliced)

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
public static T[] SlicedFindAll(
	int firstResult,
	int maxResults,
	DetachedCriteria criteria,
	params Order[] orders
)

Parameters

firstResult
Int32
The number of the first row to retrieve.
maxResults
Int32
The maximum number of results retrieved.
criteria
DetachedCriteria
The criteria expression
orders
array<Order>[]()
An Array of Order objects.

Return Value

The sliced query results.

See Also