scalarInsertRaw

Executes a raw scalar insert sql statement.

T
scalarInsertRaw
(
T
)
(
string sql
,,
string connectionString = null
)

Parameters

sql 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 id of the inserted row.

Meta