Proprietà DbCollectionEntry<TEntity, TElement>.CurrentValue
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Ottiene o imposta il valore corrente della proprietà di navigazione. Il valore corrente è costituito dall'entità a cui fa riferimento la proprietà di navigazione.
Spazio dei nomi: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")> _
Public Overrides Property CurrentValue As ICollection(Of TElement)
Get
Set
'Utilizzo
Dim instance As DbCollectionEntry
Dim value As ICollection(Of TElement)
value = instance.CurrentValue
instance.CurrentValue = value
[SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public override ICollection<TElement> CurrentValue { get; set; }
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA2227:CollectionPropertiesShouldBeReadOnly")]
public:
virtual property ICollection<TElement>^ CurrentValue {
ICollection<TElement>^ get () override;
void set (ICollection<TElement>^ value) override;
}
[<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")>]
abstract CurrentValue : ICollection<'TElement> with get, set
[<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")>]
override CurrentValue : ICollection<'TElement> with get, set
override function get CurrentValue () : ICollection<TElement>
override function set CurrentValue (value : ICollection<TElement>)
Valore proprietà
Tipo: System.Collections.Generic.ICollection<TElement>
Valore corrente.