Beispiel #1
0
 private void PrepareCWRefCursor(DbCommand command)
 {
     if (command == null)
     {
         throw new ArgumentNullException(nameof(command));
     }
     if (CommandType.StoredProcedure != command.CommandType || !OracleDatabase.QueryProcedureNeedsCursorParameter(command))
     {
         return;
     }
     this.AddParameter(command as OracleCommand, "cur_OUT", OracleType.Cursor, 0, ParameterDirection.Output, true, (byte)0, (byte)0, string.Empty, DataRowVersion.Default, Convert.DBNull);
 }