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#
public virtual void FetchEntityCollection(
	IEntityCollection2 collectionToFill,
	IRelationPredicateBucket filterBucket,
	int maxNumberOfItemsToReturn,
	ISortExpression sortClauses
)
Visual Basic
Public Overridable Sub FetchEntityCollection ( 
	collectionToFill As IEntityCollection2,
	filterBucket As IRelationPredicateBucket,
	maxNumberOfItemsToReturn As Integer,
	sortClauses As ISortExpression
)
Visual C++
public:
virtual void FetchEntityCollection(
	IEntityCollection2^ collectionToFill, 
	IRelationPredicateBucket^ filterBucket, 
	int maxNumberOfItemsToReturn, 
	ISortExpression^ sortClauses
)
F#
abstract FetchEntityCollection : 
        collectionToFill : IEntityCollection2 * 
        filterBucket : IRelationPredicateBucket * 
        maxNumberOfItemsToReturn : int * 
        sortClauses : ISortExpression -> unit 
override FetchEntityCollection : 
        collectionToFill : IEntityCollection2 * 
        filterBucket : IRelationPredicateBucket * 
        maxNumberOfItemsToReturn : int * 
        sortClauses : ISortExpression -> 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.

Implements

IRepository..::..FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression)

See Also