SqlAdapter.scalarInsertImpl

Executes a scalar insert sql statement.

class SqlAdapter(TModel)
protected abstract
Variant
scalarInsertImpl
(
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: Variant

The id of inserted row.

Meta