IDbModelCacheKey.GetHashCode 方法

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

返回此缓存模型键的哈希函数。

命名空间:  System.Data.Entity.Infrastructure
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Function GetHashCode As Integer
用法
Dim instance As IDbModelCacheKey 
Dim returnValue As Integer 

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

返回值

类型:System.Int32
此缓存模型键的哈希函数。

请参阅

参考

IDbModelCacheKey 接口

System.Data.Entity.Infrastructure 命名空间