ObjectStateEntry.IsPropertyChanged Method (String)

 

Uses DetectChanges to determine whether or not the current value of the property with the given name is different from its original value. Note that this may be different from the property being marked as modified since a property which has not changed can still be marked as modified.

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

public abstract bool IsPropertyChanged(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the property.

Return Value

Type: System.Boolean

true if the property has changed; otherwise, false.