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.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- propertyName
-
Type:
System.String
The name of the property to change.