title: Saving changes/updating existing object in dataset with Entity FrameWork and not have to set each property individually
body: <p>Can I do something like the below (which does not work)  without having to explicitly set each property of the object. Product is the object that is created by the default model binder from a form submission and ProductInDb is object in the context/database that I wish to override/update. The ProductID primary key is the same on both.</p>
  
  <pre><code>var ProductInDb = context.Products.FirstOrDefault(x =&gt; x.ProductID == product.ProductID);
  
  ProductInDb = product;
  
  context.SaveChanges();
  </code></pre>