Jazyk

CollectionEntry.CurrentValue Vlastnost

Definice

Získá nebo nastaví hodnotu aktuálně přiřazenou k této vlastnosti. Pokud je aktuální hodnota nastavena pomocí této vlastnosti, sledování změn o této změně ví a DetectChanges() není nutné, aby kontext zjistil změnu.

public virtual System.Collections.IEnumerable CurrentValue { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
public virtual System.Collections.IEnumerable? CurrentValue { get; set; }
public virtual System.Collections.IEnumerable? CurrentValue { get; set; }
member this.CurrentValue : System.Collections.IEnumerable with get, set
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.CurrentValue : System.Collections.IEnumerable with get, set
Public Overridable Property CurrentValue As IEnumerable

Hodnota vlastnosti

Atributy

Poznámky

Další informace a příklady najdete v tématu Přístup ke sledovaným entitám v EF Corea změně cizích klíčů a navigace .

Platí pro