EntityObject.ReportPropertyChanged Method (String)


Notifies the change tracker that a property has changed.

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

protected override sealed void ReportPropertyChanged(
	string property


Type: System.String

The name of the changed property.

Exception Condition

property is null.

When an entity type is generated by the Entity Data Model tools, the ReportPropertyChanged method is called after a property change to commit the cached value in the IEntityChangeTracker as the original value of the property.

This method calls the EntityMemberChanged method in the change tracker.

.NET Framework
Available since 3.5
Return to top