DIPSAS/Dapper.Oracle

List of defined Parameters in OracleDynamicParameters cannot be read before execution

Havagan opened this issue · 0 comments

This is a similar case to issue #36 except that I would like to get a list of parameters (OracleParameterInfo) and not just the parameter values prior to execution.

foreach (var name in params.ParameterNames)
{
	var p = params.GetParameter(name);
	...
}

Use case: Log all parameter names, dbtypes, and values prior to executing the sql command/query.
Use case: Modify individual parameters prior to execution.

I have an odd use case of writing a temp OracleBlob prior to executing a stored procedure that uses the result of the Blob ChunkWrite as the value of an input parameter.