Condividi tramite


Metodo IDbModelCacheKey.GetHashCode

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

Restituisce la funzione hash per questa chiave del modello memorizzata nella cache.

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

Sintassi

'Dichiarazione
Function GetHashCode As Integer
'Utilizzo
Dim instance As IDbModelCacheKey 
Dim returnValue As Integer 

returnValue = instance.GetHashCode()
int GetHashCode()
int GetHashCode()
abstract GetHashCode : unit -> int
function GetHashCode() : int

Valore restituito

Tipo: System.Int32
Funzione hash per questa chiave del modello memorizzata nella cache.

Vedere anche

Riferimento

IDbModelCacheKey Interfaccia

Spazio dei nomi System.Data.Entity.Infrastructure