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.7.0.0 (5.7.0)
Syntax protected virtual Task<bool> FetchDataAsyncImpl(
CancellationToken cancellationToken,
params Object[] fetchMethodParameters
)
Protected Overridable Function FetchDataAsyncImpl (
cancellationToken As CancellationToken,
ParamArray fetchMethodParameters As Object()
) As Task(Of Boolean)
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