title: Using ouput parameter of type SYS_refcursor
body: <p>In my database I have a stored procedure with an OUTPUT parameter of type SYS_REFCURSOR. The application side is wrtitten in C#. Can I assign this procedure's output parameter to  a Datatable like:</p>
  
  <pre><code> .............
   OracleConnection con=new OracleConnection(......);
   OracleCommand cmd=new OracleCommand("MyStoredProc",con);
   cmd.CommandType=CommandType.StoredProcedure;
   cmd.Parameters.Add("REC_CUR",OracleType.Cursor).Direction=ParameterDirection.Output;
   con.Open();
   cmd.ExecuteNonQuery();
   DataTable dt=(DataTable)cmd.Parameters["REC_CUR"].value;//is this legal?
  </code></pre>