title: Refreshing Data Using Entity Framework
body: <p>I'm trying to use Entity Framework to query database and I have following code that I'm using to get some data.</p>
  
  <pre><code>var students= MyEntities.Students.Where(s =&gt; s.Age &gt; 20).ToList();
  </code></pre>
  
  <p>This code works fine and returns correct data. However, if I run this code, then go to database and update records to change the data this code should return, and then re-run this code without shutting down the app, I'm getting original data.
  I'm pretty sure it used to work fine, but now this doesn't refresh data.</p>