ASP.net Core Entity Framework CurrentValues.SetValues() best current alternative
<p>As those of you working with Entity Framework Core may know, the current version does not have an implementation for CurrentValues.SetValues() for Entities.  It looks like support for this will come in the next release v1.1 as this <a href="https://github.com/aspnet/EntityFramework/issues/1200" rel="nofollow noreferrer">issue</a> states.  Until then, does anybody have a solution that works for updating entity entries?</p>

<p>For context, the SetValues function in the past entity framework takes an entity and updates it properties to the values of an entity passed as a parameter i.e.:</p>

<pre><code>var updatedEntity = currentEntity.CurrentValues.SetValues(newValues);
_dbContext.SaveChanges();
</code></pre>

<p>I've found some implementations using PropertyInfo to make a generic update function but haven't found anything that looks to be a nice clean solution.  Might just have to take what I can get though :)</p>

<p>p.s. I realize this function only worked for simple entities that don't have complex object graphs that would require updating other related entities.  My use case is simple.  It's just annoying to have to manually map properties right now.</p>