aspnet/EntityFramework — pull request #842 by maumar (2014-10-09 22:35:45+00:00)
Title: fix to issue 788

Tracking entities has a discrepancy in behavior between sync and async. For sync, objects returned to the customer have the same reference as ones created and stored in state manager. For async, we do create and store objects in state manager, but return the original ones to the customer. This could cause errors for some scenarios (issue 788) - we would end up with same entity being tracked twice which then would lead to a validation error.
@anpete @ajcvickers