Compartilhar via


CompiledQueryCacheKeyGenerator Construtores

Definição

Sobrecargas

CompiledQueryCacheKeyGenerator(CompiledQueryCacheKeyGeneratorDependencies)

Inicializa uma nova instância da classe CompiledQueryCacheKeyGenerator.

CompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext)

Inicializa uma nova instância da classe CompiledQueryCacheKeyGenerator.

CompiledQueryCacheKeyGenerator(CompiledQueryCacheKeyGeneratorDependencies)

Inicializa uma nova instância da classe CompiledQueryCacheKeyGenerator.

public CompiledQueryCacheKeyGenerator (Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGeneratorDependencies dependencies);
new Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator : Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGeneratorDependencies -> Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator
Public Sub New (dependencies As CompiledQueryCacheKeyGeneratorDependencies)

Parâmetros

dependencies
CompiledQueryCacheKeyGeneratorDependencies

Objeto parameter que contém dependências para esse serviço.

Aplica-se a

CompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext)

Inicializa uma nova instância da classe CompiledQueryCacheKeyGenerator.

public CompiledQueryCacheKeyGenerator (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentContext);
new Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator
Public Sub New (model As IModel, currentContext As ICurrentDbContext)

Parâmetros

model
IModel

O modelo no qual as consultas serão gravadas.

currentContext
Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext

O contexto para o qual as consultas serão executadas.

Aplica-se a