Execute a stored procedure via a Command (that returns no resultset) using the provided parameter values in a transaction. If an error occur, changes are rollebacked. 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.
An int representing the number of rows affected by the command
This method provides no access to output parameters or the stored procedure's return value parameter.
int result = ExecuteNonQuery("PublishOrders", 24, 36);
GenericDataHelper Class | DotnetProject.Data Namespace | GenericDataHelper.ExecuteNonQueryTransactional Overload List