Dotnet-Project Framework documentation.

GenericDataHelper.ExecuteNonQueryTransactional Method

Execute a Command (that returns no resultset and takes no parameters) against a Transaction. If an error occur, changes are rollebacked.

Overload List

Execute a Command (that returns no resultset and takes no parameters) against a Transaction. If an error occur, changes are rollebacked.

public static int ExecuteNonQueryTransactional(CommandType,string);

Execute a Command (that returns no resultset) against the DataBase using the provided parameters in a Transaction. If an error occur, changes are rollebacked.

public static int ExecuteNonQueryTransactional(CommandType,string,params IDataParameter[]);

Execute a Command (that returns no resultset and takes no parameters) against a Transaction. If an error occur, changes are rollebacked.

public static int ExecuteNonQueryTransactional(string);

Execute a stored procedure via a Command (that returns no resultset) against the DataBase using the provided parameters in a transaction. If an error occur, changes are rollebacked.

public static int ExecuteNonQueryTransactional(string,params IDataParameter[]);

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.

public static int ExecuteNonQueryTransactional(string,params object[]);

See Also

GenericDataHelper Class | DotnetProject.Data Namespace