Share via


CompiledQueryCacheKeyGenerator Constructors

Definition

Overloads

CompiledQueryCacheKeyGenerator(CompiledQueryCacheKeyGeneratorDependencies)

Initializes a new instance of the CompiledQueryCacheKeyGenerator class.

CompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext)

Initializes a new instance of the CompiledQueryCacheKeyGenerator class.

CompiledQueryCacheKeyGenerator(CompiledQueryCacheKeyGeneratorDependencies)

Initializes a new instance of the CompiledQueryCacheKeyGenerator class.

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)

Parameters

dependencies
CompiledQueryCacheKeyGeneratorDependencies

Parameter object containing dependencies for this service.

Applies to

CompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext)

Initializes a new instance of the CompiledQueryCacheKeyGenerator class.

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)

Parameters

model
IModel

The model that queries will be written against.

currentContext
Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext

The context that queries will be executed for.

Applies to