Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceContext::ReadingEntity Event

 

Occurs after entity data has been completely read into the entity object.

Namespace:   System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public:
event EventHandler<ReadingWritingEntityEventArgs^>^ ReadingEntity {
	void add(EventHandler<ReadingWritingEntityEventArgs^>^ value);
	void remove(EventHandler<ReadingWritingEntityEventArgs^>^ value);
}

The ReadingEntity event occurs after the entity data has been completely read into the target object together with all nested entities. If tracking is anything other than NoTracking, the object is attached before the event occurs.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show:
© 2017 Microsoft