Condividi tramite


Proprietà DbPropertyEntry<TEntity, TProperty>.OriginalValue

[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 originale di questa proprietà.

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

Sintassi

'Dichiarazione
Public Property OriginalValue As TProperty
    Get 
    Set
'Utilizzo
Dim instance As DbPropertyEntry 
Dim value As TProperty

value = instance.OriginalValue

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

Valore proprietà

Tipo: TProperty
Valore originale.

Vedere anche

Riferimento

DbPropertyEntry<TEntity, TProperty> Classe

Spazio dei nomi System.Data.Entity.Infrastructure