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