title: Object data not updating when database entry changes
body: <p>My website has a banner that displays messages to visitors for emergency/special situations.  The banner displays based on a call to a database table which checks for start/finish times against a DateTime.Now object.</p>
  
  <p><code>static private PublicWebEntities db = new PublicWebEntities();
          public IEnumerable&lt;AlertMsg&gt; CurrentAlert()
          {
              var alerts = from q in db.AlertMsgs where (q.Start &lt; DateTime.Now &amp;&amp; q.Finish &gt; DateTime.Now) select q;
              return alerts;
          }</code></p>
  
  <p>and displays in the page by</p>
  
  <pre><code>@if (Model.CurrentAlert().Any()){           
  &lt;div class="alert-block"&gt;
      &lt;a href="" class="button-close"&gt;X&lt;/a&gt;
      @foreach (var item in Model.CurrentAlert())  {
          &lt;p&gt;
          @Html.Raw(item.Message)
          &lt;/p&gt;  }
  &lt;/div&gt;}
  </code></pre>
  
  <p>If I change either the start or finish times in a record, the banner turns off. But when the text message of a record is updated, the display is a cached copy of the old message.</p>
  
  <p>I'm using EF 4.1 and MVC3 for this site.</p>