ObjectStateEntry.RejectPropertyChanges(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework