ObjectStateEntry.RejectPropertyChanges Method (String)

 

Rejects any changes made to the property with the given name since the property was last loaded, attached, saved, or changes were accepted. The orginal value of the property is stored and the property will no longer be marked as modified.

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

public abstract void RejectPropertyChanges(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the property to change.