IDbModelCacheKeyProvider.CacheKey 属性

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

获取与提供程序关联的缓存键。

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

语法

声明
ReadOnly Property CacheKey As String 
    Get
用法
Dim instance As IDbModelCacheKeyProvider 
Dim value As String 

value = instance.CacheKey
string CacheKey { get; }
property String^ CacheKey {
    String^ get ();
}
abstract CacheKey : string
function get CacheKey () : String

属性值

类型:System.String
与提供程序关联的缓存键。

请参阅

参考

IDbModelCacheKeyProvider 接口

System.Data.Entity.Infrastructure 命名空间