Share via


ComplexCollectionEntry<TEntity,TElement>.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.

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]
public virtual System.Collections.Generic.IReadOnlyList<TElement>? CurrentValue { get; set; }
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]
member this.CurrentValue : System.Collections.Generic.IReadOnlyList<'Element> with get, set
Public Overridable Property CurrentValue As IReadOnlyList(Of TElement)

Property Value

IReadOnlyList<TElement>
Attributes

Remarks

See Accessing tracked entities in EF Core and Changing foreign keys and navigations for more information and examples.

Applies to