Click or drag to resize

DataScopeFetchDataAsyncImpl Method

Async variant of FetchDataImpl(Object) The implementation of the fetch method. In this method, fetch the data for the scope. Use the TrackQuery methods to make sure all entities fetched in this method are tracked by the scope.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
protected virtual Task<bool> FetchDataAsyncImpl(
	CancellationToken cancellationToken,
	params Object[] fetchMethodParameters
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.
fetchMethodParameters
Type: SystemObject
The fetch method parameters.

Return Value

Type: TaskBoolean
true if the fetch was successful, false otherwise
Remarks
The default implementation will return false in a completed task and won't perform any fetching.
See Also