SqlAdapter.scalarRaw

Executes a raw scalar sql statement.

class SqlAdapter(TModel)
final
T
scalarRaw
(
T
)
(
string query
,,
string connectionString = null
)

Parameters

query string

The sql query.

params DbParam[]

The parameters.

connectionString string

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

Return Value

Type: T

The value of the statement.

Meta