MemberEntry.CurrentValue Property

Definition

Gets or sets the value currently assigned to this property. If the current value is set using this property, the change tracker is aware of the change and DetectChanges() is not required for the context to detect the change.

C#
public virtual object CurrentValue { get; set; }
C#
public virtual object? CurrentValue { get; set; }

Property Value

Remarks

See Accessing tracked entities in EF Core for more information and examples.

Applies to

Proizvod Verzije
Entity Framework Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0