ModelSourceDependencies.ModelCacheKeyFactory 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取将 IModelCacheKeyFactory 创建用于存储和查找模型缓存的密钥的 。
public Microsoft.EntityFrameworkCore.Infrastructure.IModelCacheKeyFactory ModelCacheKeyFactory { get; }
public Microsoft.EntityFrameworkCore.Infrastructure.IModelCacheKeyFactory ModelCacheKeyFactory { get; init; }
member this.ModelCacheKeyFactory : Microsoft.EntityFrameworkCore.Infrastructure.IModelCacheKeyFactory
member this.ModelCacheKeyFactory : Microsoft.EntityFrameworkCore.Infrastructure.IModelCacheKeyFactory with get, set
Public ReadOnly Property ModelCacheKeyFactory As IModelCacheKeyFactory
Public Property ModelCacheKeyFactory As IModelCacheKeyFactory