CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey Constructor
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.
Initializes a new instance of the CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey class.
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)
- query
- Expression
The query to generate the key for.
- model
- IModel
The model that queries is written against.
- queryTrackingBehavior
- QueryTrackingBehavior
The tracking behavior for results of the query.
- async
- Boolean
A value indicating whether the query will be executed asynchronously.
Product | Versions |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: