共用方式為


EntityStateChangingEventArgs.OldState 屬性

定義

實體正在轉換的狀態。

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

屬性值

適用於