Overload List

  NameDescription
Public methodExecuteScalar(IDbCommand)
Execute an IDbCommand (that returns a 1x1 resultset) against the database specified in the connection String.
Public methodExecuteScalar(IDbConnection, CommandType, String)
Execute an IDbCommand (that returns a 1x1 resultset and takes no parameters) against the provided IDbConnection.
Public methodExecuteScalar(IDbConnection, String, array<Object>[]()[][])
Execute a stored procedure via an IDbCommand (that returns a 1x1 resultset) against the specified IDbConnection 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 methodExecuteScalar(IDbTransaction, CommandType, String)
Execute an IDbCommand (that returns a 1x1 resultset and takes no parameters) against the provided IDbTransaction.
Public methodExecuteScalar(IDbTransaction, String, array<Object>[]()[][])
Execute a stored procedure via an IDbCommand (that returns a 1x1 resultset) against the specified IDbTransaction 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 methodExecuteScalar(String, CommandType, String)
Execute an IDbCommand (that returns a 1x1 resultset and takes no parameters) against the database specified in the connection String.
Public methodExecuteScalar(String, String, array<Object>[]()[][])
Execute a stored procedure via an IDbCommand (that returns a 1x1 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 methodExecuteScalar(IDbConnection, CommandType, String, array<IDataParameter>[]()[][])
Execute an IDbCommand (that returns a 1x1 resultset) against the specified IDbConnection using the provided parameters.
Public methodExecuteScalar(IDbTransaction, CommandType, String, array<IDataParameter>[]()[][])
Execute an IDbCommand (that returns a 1x1 resultset) against the specified IDbTransaction using the provided parameters.
Public methodExecuteScalar(String, CommandType, String, array<IDataParameter>[]()[][])
Execute an IDbCommand (that returns a 1x1 resultset) against the database specified in the connection string using the provided parameters.

See Also