CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey Costruttore

Definizione

Inizializza una nuova istanza della 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)

Parametri

query
Expression

Query per cui generare la chiave.

model
IModel

Modello in cui viene scritta la query.

queryTrackingBehavior
QueryTrackingBehavior

Comportamento di rilevamento per i risultati della query.

async
Boolean

Valore che indica se la query verrà eseguita in modo asincrono.

Si applica a