ObjectStateEntry.ApplyCurrentValues Method (Object)

 

Sets the current 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 ApplyCurrentValues(
	object currentEntity
)

Parameters

currentEntity
Type: System.Object

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