語言

DetectEntityChangesEventArgs 類別

定義

DetectingEntityChanges 事件的事件引數。

public class DetectEntityChangesEventArgs : Microsoft.EntityFrameworkCore.ChangeTracking.DetectChangesEventArgs
type DetectEntityChangesEventArgs = class
    inherit DetectChangesEventArgs
Public Class DetectEntityChangesEventArgs
Inherits DetectChangesEventArgs
繼承
DetectEntityChangesEventArgs

備註

如需詳細資訊和範例 ,請參閱 EF Core 中實體的狀態變更 。

建構函式

名稱 Description
DetectEntityChangesEventArgs(InternalEntityEntry)

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不需任何通知。 您應該只在程式碼中直接使用它,並特別小心,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

屬性

名稱 Description
Entry

EntityEntry實體的 。

適用於