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,
	IPrefetchPath2 prefetchPath
)
Visual Basic
Public Overridable Sub FetchEntityCollection ( 
	collectionToFill As IEntityCollection2,
	filterBucket As IRelationPredicateBucket,
	prefetchPath As IPrefetchPath2
)
Visual C++
public:
virtual void FetchEntityCollection(
	IEntityCollection2^ collectionToFill, 
	IRelationPredicateBucket^ filterBucket, 
	IPrefetchPath2^ prefetchPath
)
F#
abstract FetchEntityCollection : 
        collectionToFill : IEntityCollection2 * 
        filterBucket : IRelationPredicateBucket * 
        prefetchPath : IPrefetchPath2 -> unit 
override FetchEntityCollection : 
        collectionToFill : IEntityCollection2 * 
        filterBucket : IRelationPredicateBucket * 
        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
prefetchPath
Type: IPrefetchPath2
The prefetch path to use for this fetch, which will fetch all related entities.

Implements

IRepository..::..FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, IPrefetchPath2)

See Also