ObjectStateEntry.ApplyOriginalValues Method (Object)

 

Sets the original values of the entry to match the property values of a supplied object.

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

public abstract void ApplyOriginalValues(
	object originalEntity
)

Parameters

originalEntity
Type: System.Object

The detached object that has original values to apply to the object. originalEntity can also be the object’s entity key.