CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey Construtor

Definição

Inicializa uma nova instância da classe CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey.

public CompiledQueryCacheKey (System.Linq.Expressions.Expression query, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.QueryTrackingBehavior queryTrackingBehavior, bool async);
new Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.QueryTrackingBehavior * bool -> Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Public Sub New (query As Expression, model As IModel, queryTrackingBehavior As QueryTrackingBehavior, async As Boolean)

Parâmetros

query
Expression

A consulta para a qual gerar a chave.

model
IModel

O modelo no qual as consultas são gravadas.

queryTrackingBehavior
QueryTrackingBehavior

O comportamento de acompanhamento dos resultados da consulta.

async
Boolean

Um valor que indica se a consulta será executada de forma assíncrona.

Aplica-se a