Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.

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

Syntax

C#
void FetchEntityCollection(
	IEntityCollection2 collectionToFill,
	IRelationPredicateBucket filterBucket,
	int maxNumberOfItemsToReturn,
	ISortExpression sortClauses,
	IPrefetchPath2 prefetchPath
)
Visual Basic
Sub FetchEntityCollection ( 
	collectionToFill As IEntityCollection2,
	filterBucket As IRelationPredicateBucket,
	maxNumberOfItemsToReturn As Integer,
	sortClauses As ISortExpression,
	prefetchPath As IPrefetchPath2
)
Visual C++
void FetchEntityCollection(
	IEntityCollection2^ collectionToFill, 
	IRelationPredicateBucket^ filterBucket, 
	int maxNumberOfItemsToReturn, 
	ISortExpression^ sortClauses, 
	IPrefetchPath2^ prefetchPath
)
F#
abstract FetchEntityCollection : 
        collectionToFill : IEntityCollection2 * 
        filterBucket : IRelationPredicateBucket * 
        maxNumberOfItemsToReturn : int * 
        sortClauses : ISortExpression * 
        prefetchPath : IPrefetchPath2 -> unit 

Parameters

collectionToFill
Type: IEntityCollection2
EntityCollection object containing an entity factory which has to be filled.
filterBucket
Type: IRelationPredicateBucket
Filter information for retrieving the entities.
maxNumberOfItemsToReturn
Type: System..::..Int32
The maximum amount of entities to return. If 0, all entities are returned.
sortClauses
Type: ISortExpression
SortClause expression which is applied to the query executed, sorting the fetch result.
prefetchPath
Type: IPrefetchPath2
The prefetch path to use for this fetch, which will fetch all related entities.

See Also