DataServiceContext.ReadingEntity 事件

定義

當實體資料已完全讀入實體物件之後發生。Occurs after entity data has been completely read into the entity object.

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) 

事件類型

EventHandler<ReadingWritingEntityEventArgs>

備註

當實體資料連同所有巢狀實體已完全讀入目標物件之後,發生 ReadingEntity 事件。The ReadingEntity event occurs after the entity data has been completely read into the target object together with all nested entities. 如果追蹤是以外的任何專案 NoTracking ,則會在事件發生之前附加物件。If tracking is anything other than NoTracking, the object is attached before the event occurs.

適用於