title: Ignore certain columns on update
body: <p>Hello I have something like this:</p>
  
  <pre><code>public ActionResult Edit(int id)
  {
      var movie = (from m in _db.Movies where m.Id == id select m).First();
  
      return View(movie);
  }
  
  [HttpPost]
  public ActionResult Edit(Movie movie)
  {
      try
      {
          var originalMovie = (from m in _db.Movies where m.Id == movie.Id select m).First();
  
          _db.Movies.ApplyCurrentValues(movie);
  
          _db.SaveChanges();
          return RedirectToAction("Index");
      }
      catch
      {
          return View();
      }
  }
  </code></pre>
  
  <p>This example was taken from <a href="https://stackoverflow.com/questions/8827214/proper-way-to-edit-an-entity-in-mvc-3-with-the-entity-framework-using-data-model">Proper way to Edit an entity in MVC 3 with the Entity Framework using Data Model First approach?</a></p>
  
  <p>I want to pass to the DB SQL-query (UPDATE Movie ....) only modified columns because I'm doing a column audit.</p>
  
  <p>The code works ok, but the problem is that in my "Movie" Entity I have a "FlagOldMovie" property and others 10 properties witch I'm not using its in this view because they will stay the same, but the entityframework put to that properties defaults values so the "ApplyCurrentValues" find changes and that properties are updated too.</p>
  
  <p>A workaround is to pass my not changed properties to html hidden inputs, but its privated data.</p>
  
  <p>Any idea?</p>