Share via


ObjectStateEntry.RejectPropertyChanges(String) Method

Definition

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.

public abstract void RejectPropertyChanges (string propertyName);
abstract member RejectPropertyChanges : string -> unit
Public MustOverride Sub RejectPropertyChanges (propertyName As String)

Parameters

propertyName
String

The name of the property to change.

Applies to