Condividi tramite


CompiledQueryCacheKeyGenerator Costruttori

Definizione

Overload

CompiledQueryCacheKeyGenerator(CompiledQueryCacheKeyGeneratorDependencies)

Inizializza una nuova istanza della classe CompiledQueryCacheKeyGenerator.

CompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext)

Inizializza una nuova istanza della classe CompiledQueryCacheKeyGenerator.

CompiledQueryCacheKeyGenerator(CompiledQueryCacheKeyGeneratorDependencies)

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

Parametri

dependencies
CompiledQueryCacheKeyGeneratorDependencies

Oggetto parametro contenente le dipendenze per questo servizio.

Si applica a

CompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext)

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

Parametri

model
IModel

Il modello su cui verranno scritte le query.

currentContext
Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext

Contesto per cui verranno eseguite le query.

Si applica a