title: Entity Framework 5 reload from database using a stored procedure
body: <p>I have this line of code which loads some data from my database using a stored procedure.</p>
  
  <pre><code>List&lt;myObj) myObjs = context.myStoredProc(myParameter).ToList();
  </code></pre>
  
  <p>I can't find the right syntax to force a reload from the database and replace the current data with data from the database. </p>
  
  <p>I am trying:</p>
  
  <pre><code>context.Entry().Reload(); 
  </code></pre>
  
  <p>but this is wrong because I do not know what goes in the brackets.</p>
  
  <p>I have other entities on this context which are tracked. The context is not disposed.</p>
  
  <pre><code>List&lt;myObj) myObjs = context.myStoredProc(myParameter).ToList();
  </code></pre>
  
  <p>Does not overwrite the current values.</p>