Compartir a través de


DbReferenceEntry<TEntity, TProperty>.CurrentValue (Propiedad)

[Esta página es específica de la versión 6 de Entity Framework. La versión más reciente está disponible como el paquete NuGet de Entity Framework. Para más información sobre Entity Framework, consulte msdn.com/es-ES/data/ef].

Obtiene o establece el valor actual de la propiedad de navegación. El valor actual es la entidad a que hace referencia la propiedad de navegación.

Espacio de nombres:  System.Data.Entity.Infrastructure
Ensamblado:  EntityFramework (en EntityFramework.dll)

Sintaxis

'Declaración
Public Overrides Property CurrentValue As TProperty
    Get 
    Set
'Uso
Dim instance As DbReferenceEntry 
Dim value As TProperty

value = instance.CurrentValue

instance.CurrentValue = value
public override TProperty CurrentValue { get; set; }
public:
virtual property TProperty CurrentValue {
    TProperty get () override;
    void set (TProperty value) override;
}
abstract CurrentValue : 'TProperty with get, set 
override CurrentValue : 'TProperty with get, set
override function get CurrentValue () : TProperty
override function set CurrentValue (value : TProperty)

Valor de propiedad

Tipo: TProperty
El valor actual.

Vea también

Referencia

DbReferenceEntry<TEntity, TProperty> Clase

System.Data.Entity.Infrastructure (Espacio de nombres)