Task<object> ExecuteScalarAsync( string storedProcedure, ApplicationIntent intent, params SqlParameter[] sqlParameters )
Parameters
- storedProcedure
- The stored procedure.
- intent
- indicate if you read or read-write
- sqlParameters
- The SQL parameters.
Return Value
System.Object.