DataAccessBase.ExecuteScalar

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, 2019 • Updated: 06/23/19
Comment or report problem with topic