title: Entity framework attach update not working
body: <p>I'm trying to update a POCO object using entity framework in the following way:</p>
  
  <pre><code> context.Jobs.Attach(job);
   context.SaveChanges();
  </code></pre>
  
  <p>That does not work. No error is thrown, it just isn't updating the values in the database.</p>
  
  <p>I tried:</p>
  
  <pre><code>context.Jobs.AttachTo("Jobs", job);
  context.SaveChanges();
  </code></pre>
  
  <p>Nothing wrongs, still no error and no updates.</p>