共用方式為


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任何專案,則會在事件發生之前附加 物件。

適用於