Overload | Description |
---|---|
ExecuteScalarAsync(CancellationToken) | A Task-based asynchronous version of the TdCommand.ExecuteScalar method. Executes the SQL statement (CommandText property) and returns the first column of the first row. The cancellation token may be use to cancel the execution of the TdCommand . |
ExecuteScalarAsync() | An asynchronous version of System.Data.Common.DbCommand.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 System.Data.Common.DbCommand.ExecuteScalarAsync(System.Threading.CancellationToken) with CancellationToken.None. (Inherited from System.Data.Common.DbCommand) |