Condividi tramite


Proprietà DbMemberEntry<TEntity, TProperty>.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 di questa proprietà.

Spazio dei nomi:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public MustOverride Property CurrentValue As TProperty
    Get 
    Set
'Utilizzo
Dim instance As DbMemberEntry 
Dim value As TProperty

value = instance.CurrentValue

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

Valore proprietà

Tipo: TProperty
Valore corrente.

Vedere anche

Riferimento

DbMemberEntry<TEntity, TProperty> Classe

Spazio dei nomi System.Data.Entity.Infrastructure