DbQuery.GetHashCode, méthode

[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]

Obtient le code de hachage associé à la requête.

Espace de noms :  System.Data.Entity.Infrastructure
Assembly :  EntityFramework (dans EntityFramework.dll)

Syntaxe

'Déclaration
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Overrides Function GetHashCode As Integer
'Utilisation
Dim instance As DbQuery 
Dim returnValue As Integer 

returnValue = instance.GetHashCode()
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override int GetHashCode()
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public:
virtual int GetHashCode() override
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
abstract GetHashCode : unit -> int 
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
override GetHashCode : unit -> int
public override function GetHashCode() : int

Valeur de retour

Type : System.Int32
Code de hachage associé à la requête.

Voir aussi

Référence

DbQuery Classe

Espace de noms System.Data.Entity.Infrastructure