title: Can't query value from newly created column
body: <p>I just added a new column to the database for a project. I confirmed that the column exists the database. I've added the property to my model and my dbset is defined using that model. However, as soon as I try to query that column value, it gives me <code>NotSupportedException</code>.</p>
  
  <blockquote>
    <p>The specified type member 'screen_icon' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported.</p>
  </blockquote>
  
  <p>Context class</p>
  
  <pre><code>public partial class dml_entities : DbContext
  {
      public dml_entities() : base("name=dml_entities")
      {
      }
  
      protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
          throw new UnintentionalCodeFirstException();
      }
  
      // ...
  
      public virtual DbSet&lt;screen&gt; screen { get; set; }
  
      // ...
  }
  </code></pre>
  
  <p>Model</p>
  
  <pre><code>public partial class screen
  {
      // ...
      public string screen_icon { get; set; }
      // ...
  }
  </code></pre>
  
  <p>Controller code</p>
  
  <pre><code>public class ScreenController : ApiController
  {
      private dml_entities db = new dml_entities()
  
      public IQueryable&lt;object&gt; Get_screen()
      {
          return db.screen.Select(e =&gt; new { icon = e.screen_icon });
      }
  }
  </code></pre>
  
  <p>Edit:</p>
  
  <p>When I <code>db.screen.ToList()</code> before selecting from it, the error goes away, but 'screen_icon' is always null, even if there actually is a value in the db.</p>
  
  <p>For whatever reason, it seems like my code doesn't believe that the column exists in the database.</p>
  
  <p>Edit2:</p>
  
  <p>Not sure if its relevant, but the exception does not seem to trigger in the controller code itself.  Attempting to <code>try{} catch{}</code> creates the same result.</p>