DataServiceContext.ReadingEntity 事件

定义

在实体数据已完全读入实体对象之后发生。

public:
 event EventHandler<System::Data::Services::Client::ReadingWritingEntityEventArgs ^> ^ ReadingEntity;
public event EventHandler<System.Data.Services.Client.ReadingWritingEntityEventArgs> ReadingEntity;
member this.ReadingEntity : EventHandler<System.Data.Services.Client.ReadingWritingEntityEventArgs> 
Public Custom Event ReadingEntity As EventHandler(Of ReadingWritingEntityEventArgs) 
Public Event ReadingEntity As EventHandler(Of ReadingWritingEntityEventArgs) 

事件类型

注解

ReadingEntity 事件在实体数据与所有嵌套实体一起完全读入目标对象之后发生。 如果跟踪不是 NoTracking,则会在事件发生之前附加 对象。

适用于