Suoranta.EnterpriseLib.Web - Developer API

EntityQueryExtensions..::..AsPaged<(Of <(<'TResult>)>)> Method

Make this EntityQuery paging and optionally asynchronous.

Namespace:  Suoranta.EnterpriseLib.Linq
Assembly:  Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)

Syntax


public static Paged<TResult> AsPaged<TResult>(
	this IQueryable<TResult> queryable,
	int resultsPerPage
)

Type Parameters

TResult

Parameters

queryable
Type: IQueryable<(Of <(<'TResult>)>)>
ORDERED set of entities or objects composed from them (using Select)
resultsPerPage
Type: Int32

Return Value