Deleted edmx and then updated edmx from database.