Otter SDK Reference
Version:

ExecuteScalarAsync<TResult>(string storedProcName, GenericDbParameter[] parameters, int outParameterIndex) Method

Executes the specified stored proc name.

Syntax

protected Task<TResult> ExecuteScalarAsync<TResult>(string storedProcName, GenericDbParameter[] parameters, int outParameterIndex)

Parameters

storedProcName
Type: string

The name of the stored procedure.

parameters
Type: GenericDbParameter[]

The parameters.

outParameterIndex
Type: int

The index of the output parameter.

Returns

The output parameter value.