SqlHelper..::..ExecuteNonQuery Method

Overload List


  Name Description
Public method Static member ExecuteNonQuery(String, CommandType, String)
Execute a SqlCommand (that returns no resultset and takes no parameters) against the database specified in the connection string
Public method Static member ExecuteNonQuery(String, CommandType, String, array<SqlParameter>[]()[][])
Execute a SqlCommand (that returns no resultset) against the database specified in the connection string using the provided parameters
Public method Static member ExecuteNonQuery(String, String, array<Object>[]()[][])
Execute a stored procedure via a SqlCommand (that returns no resultset) against the database specified in the connection string using the provided parameter values. This method will query the database to discover the parameters for the stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
Public method Static member ExecuteNonQuery(SqlConnection, CommandType, String)
Execute a SqlCommand (that returns no resultset and takes no parameters) against the provided SqlConnection.
Public method Static member ExecuteNonQuery(SqlConnection, CommandType, String, array<SqlParameter>[]()[][])
Execute a SqlCommand (that returns no resultset) against the specified SqlConnection using the provided parameters.
Public method Static member ExecuteNonQuery(SqlConnection, String, array<Object>[]()[][])
Execute a stored procedure via a SqlCommand (that returns no resultset) against the specified SqlConnection using the provided parameter values. This method will query the database to discover the parameters for the stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
Public method Static member ExecuteNonQuery(SqlTransaction, CommandType, String)
Execute a SqlCommand (that returns no resultset and takes no parameters) against the provided SqlTransaction.
Public method Static member ExecuteNonQuery(SqlTransaction, CommandType, String, array<SqlParameter>[]()[][])
Execute a SqlCommand (that returns no resultset) against the specified SqlTransaction using the provided parameters.
Public method Static member ExecuteNonQuery(SqlTransaction, String, array<Object>[]()[][])
Execute a stored procedure via a SqlCommand (that returns no resultset) against the specified SqlTransaction using the provided parameter values. This method will query the database to discover the parameters for the stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.