Condividi tramite


Metodo IDbModelCacheKey.Equals

[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.]

Determina se la chiave del modello memorizzata nella cache corrente è uguale alla chiave del modello memorizzata nella cache specificata.

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

Sintassi

'Dichiarazione
Function Equals ( _
    other As Object _
) As Boolean
'Utilizzo
Dim instance As IDbModelCacheKey 
Dim other As Object 
Dim returnValue As Boolean 

returnValue = instance.Equals(other)
bool Equals(
    Object other
)
bool Equals(
    Object^ other
)
abstract Equals : 
        other:Object -> bool
function Equals(
    other : Object
) : boolean

Parametri

  • other
    Tipo: System.Object
    Chiave del modello memorizzata nella cache da confrontare con la chiave del modello memorizzata nella cache corrente.

Valore restituito

Tipo: System.Boolean
true se la chiave del modello memorizzata nella cache corrente è uguale alla chiave del modello memorizzata nella cache specificata; in caso contrario, false.

Vedere anche

Riferimento

IDbModelCacheKey Interfaccia

Spazio dei nomi System.Data.Entity.Infrastructure