DbCollectionEntry<TEntity, TElement>.CurrentValue - свойство
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Возвращает или задает текущее значение свойства навигации. Текущее значение равно сущности, на которую ссылается свойство навигации.
Пространство имен: System.Data.Entity.Infrastructure
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")> _
Public Overrides Property CurrentValue As ICollection(Of TElement)
Get
Set
'Применение
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>)
Значение свойства
Тип: System.Collections.Generic.ICollection<TElement>
Текущее значение.