Click or drag to resize

DataScope.FetchDataAsyncImpl 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.8.0.0 (5.8.21.0111)
Syntax
protected virtual Task<bool> FetchDataAsyncImpl(
	CancellationToken cancellationToken,
	params Object[] fetchMethodParameters
)

Parameters

cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.
fetchMethodParameters
Type:System.Object[]
The fetch method parameters.

Return Value

Type: Task<Boolean>
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