ObjectStateEntry::IsPropertyChanged Method (String^)
.NET Framework (current version)
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.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Parameters
- propertyName
-
Type:
System::String^
The name of the property.
For complex properties, a new instance of the complex object which has all the same property values as the original instance is not considered to be different by this method.
.NET Framework
Available since 4.5
Available since 4.5
Show: