DataServiceContext.ReadingEntity Event

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

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

Syntax

'Declaration
Public Event ReadingEntity As EventHandler(Of ReadingWritingEntityEventArgs)
'Usage
Dim instance As DataServiceContext 
Dim handler As EventHandler(Of ReadingWritingEntityEventArgs)

AddHandler instance.ReadingEntity, handler
public event EventHandler<ReadingWritingEntityEventArgs> ReadingEntity
public:
 event EventHandler<ReadingWritingEntityEventArgs^>^ ReadingEntity {
    void add (EventHandler<ReadingWritingEntityEventArgs^>^ value);
    void remove (EventHandler<ReadingWritingEntityEventArgs^>^ value);
}
member ReadingEntity : IEvent<EventHandler<ReadingWritingEntityEventArgs>,
    ReadingWritingEntityEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

The ReadingEntity event occurs after the entity data has been completely read into the target object together with all nested entities. For more information, see Object Materialization (WCF Data Services).

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace