DataScopeFetchDataAsync Method (CancellationToken, Object) |
Async variant of
FetchData(Object)
Fetches the data for the scope. It calls FetchDataImpl, which should be implemented in a derived class of this scope to actually
fetch the data.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax public Task<bool> FetchDataAsync(
CancellationToken cancellationToken,
params Object[] fetchMethodParameters
)
Public Function FetchDataAsync (
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. These are passed to FetchDataImpl
Return Value
Type:
TaskBoolean
true if the fetch was successful, false otherwise
See Also