This question is locked. New answers and comments are not allowed.
What is the proper way to invoke a simple (no in param, no out param, no resultset) stored procedure?
The DB I'm using is Oracle and I've tried :
AND
The first call does not throw, but it also does not work (no db change).
The second actually executes the sproc (db changes) but throws an exception about the returned result set.
What is the right approach? Am I missing a config setting?
Thanks.
The DB I'm using is Oracle and I've tried :
scope.GetSqlQuery("DO_IT", null, null).Execute(); |
AND
scope.GetSqlQuery<object>("DO_IT", null).ExecuteDirect(null); |
The first call does not throw, but it also does not work (no db change).
The second actually executes the sproc (db changes) but throws an exception about the returned result set.
What is the right approach? Am I missing a config setting?
Thanks.