SqlAdapter.readSingle

Executes a single sql read.

class SqlAdapter(TModel)
abstract
TModel
readSingle
(
string query
,
DbParam[string] params
,
string connectionString = null
)

Parameters

query string

The sql query.

params DbParam[string]

The parameters.

connectionString string

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

Return Value

Type: TModel

The model of the first row read.

Meta