Skip to main content
.NET 6.0+

Session.ExecuteNonQuery Method

Name Parameters Description
ExecuteNonQuery(String, QueryParameterCollection) sql, parameters Executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQuery(String, Object[]) sql, parameterValues Executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQuery(String, String[], QueryParameterCollection) sql, parameterNames, parameters Executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQuery(String, String[], Object[]) sql, parameterNames, parameterValues Executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQuery(String) sql Executes the specified SQL statement and returns the number of rows affected.