Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Session.ExecuteNonQueryAsync Method

Name Parameters Description
ExecuteNonQueryAsync(String, QueryParameterCollection, CancellationToken) sql, parameters, cancellationToken Asynchronously executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQueryAsync(String, Object[], CancellationToken) sql, parameterValues, cancellationToken Asynchronously executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQueryAsync(String, CancellationToken) sql, cancellationToken Asynchronously executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQueryAsync(CancellationToken, String, String[], QueryParameterCollection) cancellationToken, sql, parameterNames, parameters Asynchronously executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQueryAsync(CancellationToken, String, String[], Object[]) cancellationToken, sql, parameterNames, parameterValues Asynchronously executes the specified SQL statement and returns the number of rows affected.