src/Shared/EntityFramework/Core/Objects/ObjectSet.cs
/// <summary>
/// Sets the <see cref="P:System.Data.Entity.Core.Objects.ObjectStateEntry.OriginalValues" /> property of an
/// <see
///     cref="T:System.Data.Entity.Core.Objects.ObjectStateEntry" />
/// to match the property values of a supplied object.
/// </summary>
/// <returns>The updated object.</returns>
/// <param name="originalEntity">
/// The detached object that has property updates to apply to the original object. The entity key of  originalEntity  must match the
/// <see
///     cref="P:System.Data.Entity.Core.Objects.ObjectStateEntry.EntityKey" />
/// property of an entry in the
/// <see
///     cref="T:System.Data.Entity.Core.Objects.ObjectContext" />
/// .
/// </param>
Sets the  property of an

to match the property values of a supplied object.
Sets the property of an to match the property values of a supplied object .
public TEntity ApplyOriginalValues(TEntity originalEntity)
        {
            return Context.ApplyOriginalValues(FullyQualifiedEntitySetName, originalEntity);
        }
public TEntity ApplyOriginalValues ( TEntity originalEntity ) { return Context . ApplyOriginalValues ( FullyQualifiedEntitySetName , originalEntity ) ; }
Sets the  property of an
Sets the property of an
// this method is expected to behave exactly like ObjectContext.ApplyOriginalValues -- see devnote at the top of this class
The updated object.
The updated object .
originalEntity
TEntity
The detached object that has property updates to apply to the original object. The entity key of  originalEntity  must match the

property of an entry in the


The detached object that has property updates to apply to the original object . The entity key of originalEntity must match the property of an entry in the