Executes a command and returns a scalar value from it
public virtual object ExecuteScalar(DbCommand command, Object[] parameters)
Return Value
value or null on failure
Parameters
command
DbCommand containing command to run
parameters
DbParameters (CreateParameter()) for named parameters
or use @0,@1 parms in SQL and plain values
Overloads:
See also:
Class DataAccessBase© West Wind Technologies, 1996-2023 • Updated: 07/15/20
Comment or report problem with topic