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
- other
Tipo: System.Data.Entity.Core.EntityKey
Chiave da confrontare a questa istanza.
Valore restituito
Tipo: System.Boolean
true se questa istanza è uguale alla chiave specificata; in caso contrario, false.