Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Parameter discovery problem with .net 4.5&EL6&ODP.NET

user13302347Jun 11 2018 — edited Jun 12 2018

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?

This post has been answered by user13302347 on Jun 12 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2018
Added on Jun 11 2018
1 comment
795 views