title: Entity framework error "Invaid column name" while update record after renaming table
body: <p>I am using asp.net 4.5 with EF to add/update/delete record. </p>
  
  <p>I renamed a database table StatusMaster to Status. </p>
  
  <p>To reflect this change in entity, I have used "update model from database" in which I have deleted the table first. </p>
  
  <p>Then I have deleted the table from the diagram using "Delete Model". </p>
  
  <p>Then I added table to the edmx file using "Update Model from Database". </p>
  
  <p>I also have update related code in application. </p>
  
  <p>Now Add() method is working well but while update method it gives me error "Invalid column name 'Id'". This column was the primary key before I update but I have also renamed it to "StatusId" but I don't think it should affect it because I already have deleted and added the table using "Update model from database". </p>
  
  <p>Please help me. </p>