Back to Devexpress

Session.ExecuteScalarAsync Method

xpo-devexpress-dot-xpo-dot-session-dot-executescalarasync.md

latest1.9 KB
Original Source

Session.ExecuteScalarAsync Method

NameParametersDescription
ExecuteScalarAsync(String, QueryParameterCollection, CancellationToken)sql, parameters, cancellationTokenAsynchronously executes the specified SQL query and returns the first column of the first row in the result set returned by the query.
ExecuteScalarAsync(String, Object[], CancellationToken)sql, parameterValues, cancellationTokenExecutes the specified SQL query and returns the first column of the first row in the result set returned by the query.
ExecuteScalarAsync(String, String[], QueryParameterCollection, CancellationToken)sql, parameterNames, parameters, cancellationTokenAsynchronously executes the specified SQL query and returns the first column of the first row in the result set returned by the query.
ExecuteScalarAsync(String, String[], Object[], CancellationToken)sql, parameterNames, parameterValues, cancellationTokenAsynchronously executes the specified SQL query and returns the first column of the first row in the result set returned by the query.
ExecuteScalarAsync(String, CancellationToken)sql, cancellationTokenExecutes the specified SQL query and returns the first column of the first row in the result set returned by the query.