Wraps LLBLGEn.FetchEntityCollection functionality. Fetches one or more entities.
Namespace: MonoSoftware.LLBLGenAssembly: 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,
IPrefetchPath2 prefetchPath,
ExcludeIncludeFieldsList excludeIncludeFieldsList,
int pageNumber,
int pageSize
) |
Visual Basic |
---|
Public Overridable Sub FetchEntityCollection (
collectionToFill As IEntityCollection2,
filterBucket As IRelationPredicateBucket,
maxNumberOfItemsToReturn As Integer,
sortClauses As ISortExpression,
prefetchPath As IPrefetchPath2,
excludeIncludeFieldsList As ExcludeIncludeFieldsList,
pageNumber As Integer,
pageSize As Integer
) |
Visual C++ |
---|
public:
virtual void FetchEntityCollection(
IEntityCollection2^ collectionToFill,
IRelationPredicateBucket^ filterBucket,
int maxNumberOfItemsToReturn,
ISortExpression^ sortClauses,
IPrefetchPath2^ prefetchPath,
ExcludeIncludeFieldsList^ excludeIncludeFieldsList,
int pageNumber,
int pageSize
) |
F# |
---|
abstract FetchEntityCollection :
collectionToFill : IEntityCollection2 *
filterBucket : IRelationPredicateBucket *
maxNumberOfItemsToReturn : int *
sortClauses : ISortExpression *
prefetchPath : IPrefetchPath2 *
excludeIncludeFieldsList : ExcludeIncludeFieldsList *
pageNumber : int *
pageSize : int -> unit
override FetchEntityCollection :
collectionToFill : IEntityCollection2 *
filterBucket : IRelationPredicateBucket *
maxNumberOfItemsToReturn : int *
sortClauses : ISortExpression *
prefetchPath : IPrefetchPath2 *
excludeIncludeFieldsList : ExcludeIncludeFieldsList *
pageNumber : int *
pageSize : int -> 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.
- excludeIncludeFieldsList
- Type: ExcludeIncludeFieldsList
Exclude and include field list
- pageNumber
- Type: System..::..Int32
Page number.
- pageSize
- Type: System..::..Int32
Page size.
Implements
IRepository..::..FetchEntityCollection(IEntityCollection2, IRelationPredicateBucket, Int32, ISortExpression, IPrefetchPath2, ExcludeIncludeFieldsList, Int32, Int32)See Also