I get below problem after migration from Enterprise library 5 to 6 with ODP.NET
It throws me error as "Parameter discovery is not supported for connections using GenericDatabase. You must specify the parameters explicitly, or configure the connection to use a type deriving from Database that supports parameter discovery."
My code looks like below
using (DbCommand command = database.GetStoredProcCommand(query,paramArray))
{
isSuccessful = database.ExecuteNonQuery(command);
}
Could you help me with this?