Click or drag to resize
IDataAccessAdapterFetchEntityCollectionAsync Method
Async variant of FetchEntityCollection(QueryParameters). Fetches one or more entities which match the filter information in the parameters into the EntityCollection passed. The entity collection object has to contain an entity factory object which will be the factory for the entity instances to be fetched. It will apply paging and it will from there use a prefetch path fetch using the read page. It's important that pageSize is smaller than the set ParameterisedPrefetchPathThreshold. If pagesize is larger than the limits set for the ParameterisedPrefetchPathThreshold value, the query is likely to be slower than expected, though will work. If pageNumber / pageSize are set to values which disable paging, a normal prefetch path fetch will be performed.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
Task FetchEntityCollectionAsync(
	QueryParameters parameters,
	CancellationToken cancellationToken


Type: SD.LLBLGen.Pro.ORMSupportClassesQueryParameters
The parameters.
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: Task
ArgumentExceptionIf the passed in collectionToFill doesn't contain an entity factory.
Async variant
See Also