Condividi tramite


Metodo EntityKey.Equals (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.]

Indica un valore che specifica se questa istanza è uguale alla chiave specificata.

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

Sintassi

'Dichiarazione
Public Function Equals ( _
    other As EntityKey _
) As Boolean
'Utilizzo
Dim instance As EntityKey 
Dim other As EntityKey 
Dim returnValue As Boolean 

returnValue = instance.Equals(other)
public bool Equals(
    EntityKey other
)
public:
virtual bool Equals(
    EntityKey^ other
) sealed
abstract Equals : 
        other:EntityKey -> bool  
override Equals : 
        other:EntityKey -> bool
public final function Equals(
    other : EntityKey
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
true se questa istanza è uguale alla chiave specificata; in caso contrario, false.

Implements

IEquatable<T>.Equals(T)

Vedere anche

Riferimento

EntityKey Classe

Overload Equals

Spazio dei nomi System.Data.Entity.Core