Share via


DbCollectionEntry<TEntity,TElement>.CurrentValue Property

Definition

Gets or sets the current value of the navigation property. The current value is the entity that the navigation property references.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public override System.Collections.Generic.ICollection<TElement> CurrentValue { get; set; }
member this.CurrentValue : System.Collections.Generic.ICollection<'Element> with get, set
Public Overrides Property CurrentValue As ICollection(Of TElement)

Property Value

ICollection<TElement>

The current value.

Attributes

Applies to