Condividi tramite


Proprietà ObjectStateEntry.EntityKey

[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 la chiave di entità.

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

Sintassi

'Dichiarazione
Public MustOverride Property EntityKey As EntityKey 
    Get 
    Friend Set
'Utilizzo
Dim instance As ObjectStateEntry 
Dim value As EntityKey 

value = instance.EntityKey
public abstract EntityKey EntityKey { get; internal set; }
public:
virtual property EntityKey^ EntityKey {
    EntityKey^ get () abstract;
    internal: void set (EntityKey^ value) abstract;
}
abstract EntityKey : EntityKey with get, internal set
abstract function get EntityKey () : EntityKey 
internal abstract function set EntityKey (value : EntityKey)

Valore proprietà

Tipo: System.Data.Entity.Core.EntityKey
Chiave di entità.

Vedere anche

Riferimento

ObjectStateEntry Classe

Spazio dei nomi System.Data.Entity.Core.Objects