DbCommand.ExecuteScalarAsync Method ()
An asynchronous version of ExecuteScalar, which executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.
Invokes ExecuteScalarAsync with CancellationToken.None.
Assembly: System.Data (in System.Data.dll)
Available since 10
Available since 4.5