.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Session.ExecuteNonQueryAsync Method

Name Parameters Description
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[], Object[]) cancellationToken, sql, parameterNames, parameterValues Asynchronously executes the specified SQL statement and returns the number of rows affected.