CompiledQueryCacheKeyGenerator Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for