I'm having some trouble with the oracle provider and StoredProcedureCall class.
using(StoredProcedureCall call = CreateCradDalsiaPrCall(dataAccessProvider, pkSkupiny, kodCRady, posunut, datum, uziv, oz, zvacsito, strFormat))
{
int toReturn = call.Call();
strFormat = call.GetParameterValue<System.String>(7);
return toReturn;
}
On the line
int toReturn = call.Call();
i'm getting an exception
Unable to cast object of type 'MvcMiniProfiler.Data.ProfiledDbConnection' to type 'Oracle.DataAccess.Client.OracleConnection'.
This is just happening with StoreedProcedureCall, all other queries are working just fine.