title: Entity Framework : Invalid Column after removing the column
body: <p>I have a table mapped in Entity Framework which works great adding/updating and deleting records. I removed a column from SQL sever called "Category", then re-mapped my entity in the model. This worked fine, the column disappeared.</p>
  
  <p>Now, I run a query on the table to update a row and get the same error, invalid column "Category".</p>
  
  <p>This has been removed from the SQL table and removed from the Entity, so is it still looking for this damn column when I run the following code??</p>
  
  <pre><code>using (Entities db = new Entities())
                  { 
                         var Voucher = (from vouchers in db.Vouchers
                                   where vouchers.ID == ID
                                   select vouchers).FirstOrDefault();
  
                         if (Voucher != null)
                         {
                             Voucher.Status = (int)Vouchers.UI.Enums.VoucherStatus.Removed;                           
                             ret = db.SaveChanges() == 1;
                         }
                  } 
  </code></pre>
  
  <p>Here is the error:</p>
  
  <p>Invalid column name 'Category'.</p>
  
  <p>I have cleaned the code, built, re-built, and updated the enitties about a 100 times.</p>
  
  <p>Does anyone have any ideas?</p>
  
  <p>Thanks</p>