Hi,
I am using Devart Oracle for Entity Framework while executing stored procedure I am going to take each cursor as of type Data reader
by using using (OracleDataReader reader = ((OracleCursor)(oraParam.Value)).GetDataReader()) and it's throwing
((OracleCursor)(oraParam.Value)).GetDataReader()
'((OracleCursor)(oraParam.Value)).GetDataReader()' threw an exception of type 'System.InvalidOperationException'
base {System.SystemException}: {""}
I am using EFEaxtension for executing Stored Procedure in my GetInvoices stored procedure I am returning 7 ref_cursors... please let me know where I am doing wrong in one project it's working fine and in another it's not working....
for executing sp I am using following code...
using (cmd.Connection.CreateConnectionScope())
{
//Execute SP
cmd.ExecuteNonQuery();
}
also I am getting error while clicking on show license information it's complaining that
Object reference is not set to instance of an object
I am using Devart Dotconnect for oracle 5.25 professional evaluation edition.
Thanks,
Abhinay Agrawal.
Getting error Invalid operation
-
- Posts: 9
- Joined: Wed 07 Oct 2009 14:09