.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.ExecuteNonQuery Method

Name Parameters Description
ExecuteNonQuery(String) sql Executes the specified SQL statement and returns the number of rows affected.
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.