共用方式為


EntityStateChangingEventArgs.NewState 屬性

定義

實體正在轉換的狀態。

public virtual Microsoft.EntityFrameworkCore.EntityState NewState { get; }
member this.NewState : Microsoft.EntityFrameworkCore.EntityState
Public Overridable ReadOnly Property NewState As EntityState

屬性值

適用於