Asynchronously returns the first record from the query result.
Namespace: NReco.DataAssembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Task<T> SingleAsync<T>(
CancellationToken cancel
)
Task<T> SingleAsync<T>(
CancellationToken cancel
)
Function SingleAsync(Of T) (
cancel As CancellationToken
) As Task(Of T)
Function SingleAsync(Of T) (
cancel As CancellationToken
) As Task(Of T)
generic<typename T>
Task<T>^ SingleAsync(
CancellationToken cancel
)
generic<typename T>
Task<T>^ SingleAsync(
CancellationToken cancel
)
abstract SingleAsync :
cancel : CancellationToken -> Task<'T>
abstract SingleAsync :
cancel : CancellationToken -> Task<'T>
- T
Return Value
Type:
Task T depending on T, single value or all fields values from the first record