ExecuteScalarAsync

Overload List:

This method returns a Task-based asynchronous version of OracleCommand.ExecuteScalar(), which returns the first column of the first row in the result set returned by the query.

  • ExecuteScalarAsync()

    This method returns a Task-based asynchronous version of OracleCommand.ExecuteScalar(), which returns the first column of the first row in the result set returned by the query.

  • ExecuteScalarAsync(CancellationToken cancellationToken)

    This method returns a Task-based asynchronous version of OracleCommand.ExecuteScalar() with input CancellationToken, which returns the first column of the first row in the result set returned by the query.