ModelSourceDependencies.ModelCacheKeyFactory 属性

定义

获取将 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

属性值

适用于