Dotnet-Project Framework documentation.

GenericDataHelper.ExecuteScalarTransactional Method

Execute a Command (that returns a 1x1 resultset and takes no parameters) against the a Transaction.

Overload List

Execute a Command (that returns a 1x1 resultset and takes no parameters) against the a Transaction.

public static object ExecuteScalarTransactional(CommandType,string);

Execute a Command (that returns a 1x1 resultset) against a Transaction using the provided parameters.

public static object ExecuteScalarTransactional(CommandType,string,params IDataParameter[]);

Execute a stored procedure via a Command (that returns a 1x1 resultset and takes no parameters) against the a Transaction.

public static object ExecuteScalarTransactional(string);

Execute a stored procedure via a Command (that returns a 1x1 resultset) against a Transaction using the provided parameters.

public static object ExecuteScalarTransactional(string,params IDataParameter[]);

Execute a stored procedure via a Command (that returns a 1x1 resultset) against the specified Transaction 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 static object ExecuteScalarTransactional(string,params object[]);

See Also

GenericDataHelper Class | DotnetProject.Data Namespace