Condividi tramite


Proprietà EntityKey.EntityNotValidKey

[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 un elemento EntityKey che identifica un'entità risultante da un'operazione TREAT non eseguita correttamente.

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

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")> _
Public Shared ReadOnly Property EntityNotValidKey As EntityKey 
    Get
'Utilizzo
Dim value As EntityKey 

value = EntityKey.EntityNotValidKey
[SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static EntityKey EntityNotValidKey { get; }
[SuppressMessageAttribute(L"Microsoft.Security", L"CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public:
static property EntityKey^ EntityNotValidKey {
    EntityKey^ get ();
}
[<SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")>]
static member EntityNotValidKey : EntityKey
static function get EntityNotValidKey () : EntityKey

Valore proprietà

Tipo: System.Data.Entity.Core.EntityKey
Elemento EntityKey che identifica un'entità risultante da un'operazione TREAT non eseguita correttamente.

Vedere anche

Riferimento

EntityKey Classe

Spazio dei nomi System.Data.Entity.Core