IEntityChangeTracker.EntityComplexMemberChanging Method (String, Object, String)


Notifies the change tracker of a pending change to a complex property.

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

void EntityComplexMemberChanging(
	string entityMemberName,
	object complexObject,
	string complexObjectMemberName


Type: System.String

The name of the top-level entity property that is changing.

Type: System.Object

The complex type that contains the property that is changing.

Type: System.String

The name of the property that is changing on complex type.

EntityComplexMemberChanging is used by EntityObject and ComplexObject to report that a complex property is changing.

For more information, see Identity Resolution, State Management, and Change Tracking and Tracking Changes in POCO Entities.

.NET Framework
Available since 3.5
Return to top