Get page index for entity.

Namespace: MonoSoftware.LLBLGen
Assembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
void GetEntityPageIndex(
	IEntityField2 field,
	Object value,
	IRelationPredicateBucket bucket,
	ISortExpression sorter,
	IGroupByCollection groupByCollection,
	int pageSize,
	out int pageIndex
)
Visual Basic
Sub GetEntityPageIndex ( 
	field As IEntityField2,
	value As Object,
	bucket As IRelationPredicateBucket,
	sorter As ISortExpression,
	groupByCollection As IGroupByCollection,
	pageSize As Integer,
	<OutAttribute> ByRef pageIndex As Integer
)
Visual C++
void GetEntityPageIndex(
	IEntityField2^ field, 
	Object^ value, 
	IRelationPredicateBucket^ bucket, 
	ISortExpression^ sorter, 
	IGroupByCollection^ groupByCollection, 
	int pageSize, 
	[OutAttribute] int% pageIndex
)
F#
abstract GetEntityPageIndex : 
        field : IEntityField2 * 
        value : Object * 
        bucket : IRelationPredicateBucket * 
        sorter : ISortExpression * 
        groupByCollection : IGroupByCollection * 
        pageSize : int * 
        pageIndex : int byref -> unit 

Parameters

field
Type: IEntityField2
Primary key field
value
Type: System..::..Object
Primary key value
bucket
Type: IRelationPredicateBucket
Relation predicate bucket
sorter
Type: ISortExpression
Sort expression
groupByCollection
Type: IGroupByCollection
Group by collection
pageSize
Type: System..::..Int32
Page size
pageIndex
Type: System..::..Int32%
Calculated page index

See Also