title: The return value of an ObjectParameter is null
body: <p>First of all I apologize for my bad English.</p>
  
  <p>I am using Entity Framework to map stored procedures on an Oracle database.
  The following code is what I have written to call the stored procedure and return values ​​using the ObjectParameter.</p>
  
  <pre><code>ObjectParameter p_TotalCount = new ObjectParameter("TOTALCOUNT", typeof(int));
  ObjectParameter p_TotalCountPos = new ObjectParameter("TOTALCOUNT_POS", typeof(int));
  
  ObjectResult&lt;EVENT_FULLTEXT_RESULT&gt; res = ctx.GET_EVENTS_FULLTEXT2(p1, p2, ..., p_TotalCount, p_TotalCountPos);
  
  totalCount = Convert.ToInt32(p_TotalCount.Value);
  totalCountPos = Convert.ToInt32(p_TotalCountPos.Value);
  </code></pre>
  
  <p>unlike what returns when I call the stored procedure from PLSQL developer, in this case p_TotalCount.Value return null.</p>
  
  <p>Following the mapping that generated of entity framework for this stored procedure</p>
  
  <pre><code>&lt;FunctionImport Name="GET_EVENTS_FULLTEXT2" ReturnType="Collection(Model.EVENT_FULLTEXT_RESULT)"&gt;
          &lt;Parameter Name="p1" Mode="In" Type="String" /&gt;
          ...
          ...
  
          &lt;Parameter Name="TOTALCOUNT" Mode="Out" Type="Decimal" /&gt;
          &lt;Parameter Name="TOTALCOUNT_POS" Mode="Out" Type="Decimal" /&gt;
        &lt;/FunctionImport&gt;
  </code></pre>