ObjectStateEntry.ApplyOriginalValues Method (Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.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.

.NET Framework
Available since 4.0
Return to top
Show: