Linked Questions

Popular Questions

I am using the odp OracleParameter constructor:

public OracleParameter(string parameterName, object obj);

When i pass different types as objects like int or DateTime it works fine. However when i use bool like this:

new OracleParameter("paramName", true)

it crashes with a "System.ArgumentException".

Why does this not work with bool values? Are there known types where this does not work?

I am using Oracle ManagedDataAccess.dll v4.121.2.0

Related Questions