DataReaderResult SingleAsync T  Method (CancellationToken)NReco.Data Class Library Documentation
Asynchronously returns the first record from the query result.

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public Task<T> SingleAsync<T>(
	CancellationToken cancel
)
Type Parameters

T

Return Value

Type: Task T 
depending on T, single value or all fields values from the first record

Implements

IQueryModelResult SingleAsync T (CancellationToken)
See Also