語言

EntityEntryEventArgs 類別

定義

與追蹤 EntityEntrys 相關的事件參數。

[System.Runtime.CompilerServices.Nullable(0)]
public class EntityEntryEventArgs : EventArgs
public class EntityEntryEventArgs : EventArgs
[<System.Runtime.CompilerServices.Nullable(0)>]
type EntityEntryEventArgs = class
    inherit EventArgs
type EntityEntryEventArgs = class
    inherit EventArgs
Public Class EntityEntryEventArgs
Inherits EventArgs
繼承
EntityEntryEventArgs
衍生
屬性

備註

更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」。

建構函式

名稱 Description
EntityEntryEventArgs(InternalEntityEntry)

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

屬性

名稱 Description
Entry

那是 EntityEntry 為了實體。

適用於