scalar

Executes a scalar sql statement.

T
scalar
(
T
)
(
string sql
,
DbParam[string] params
,
string connectionString = null
)

Parameters

sql string

The sql query.

params DbParam[string]

The parameters.

connectionString string

The connection string. (If null, it will select the default)

Return Value

Type: T

The value of the statement.

Meta