SqlServerCompiledQueryCacheKeyGenerator SqlServerCompiledQueryCacheKeyGenerator Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class SqlServerCompiledQueryCacheKeyGenerator : RelationalCompiledQueryCacheKeyGenerator, ICompiledQueryCacheKeyGeneratorPublic Class SqlServerCompiledQueryCacheKeyGenerator
    Inherits RelationalCompiledQueryCacheKeyGenerator
    Implements ICompiledQueryCacheKeyGenerator

Inheritance Hierarchy

Inherited Members

GenerateCacheKeyCore(Expression, Boolean),
GenerateCacheKeyCore(Expression, Boolean),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • SqlServerCompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext, IDbContextOptions)
    SqlServerCompiledQueryCacheKeyGenerator(IModel, ICurrentDbContext, IDbContextOptions)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public SqlServerCompiledQueryCacheKeyGenerator(IModel model, ICurrentDbContext currentContext, IDbContextOptions contextOptions)Public Sub New(model As IModel, currentContext As ICurrentDbContext, contextOptions As IDbContextOptions)

    Parameters

Methods

  • GenerateCacheKey(Expression, Boolean)
    GenerateCacheKey(Expression, Boolean)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override object GenerateCacheKey(Expression query, bool async)Public Overrides Function GenerateCacheKey(query As Expression, async As Boolean) As Object

    Parameters

    • query
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression
    • async
      System.Boolean
      System.Boolean

    Returns

    • System.Object
      System.Object

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.dll