EntityStateChangingEventArgs.OldState Property

Definition

The state that the entity is transitioning from.

C#
public virtual Microsoft.EntityFrameworkCore.EntityState OldState { get; }

Property Value

Applies to

Product Versions
Entity Framework Core 7.0, 8.0, 9.0