QueryCompiler QueryCompiler 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 QueryCompiler : IQueryCompilerPublic Class QueryCompiler
    Implements IQueryCompiler

Inheritance Hierarchy

  • System.Object
    System.Object
  • QueryCompiler
    QueryCompiler

Inherited Members

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.

Properties 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.

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.

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.

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.

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.

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

  • QueryCompiler(IQueryContextFactory, ICompiledQueryCache, ICompiledQueryCacheKeyGenerator, IDatabase, ISensitiveDataLogger<QueryCompiler>, MethodInfoBasedNodeTypeRegistry, ICurrentDbContext)
    QueryCompiler(IQueryContextFactory, ICompiledQueryCache, ICompiledQueryCacheKeyGenerator, IDatabase, ISensitiveDataLogger(Of QueryCompiler), MethodInfoBasedNodeTypeRegistry, ICurrentDbContext)

    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 QueryCompiler(IQueryContextFactory queryContextFactory, ICompiledQueryCache compiledQueryCache, ICompiledQueryCacheKeyGenerator compiledQueryCacheKeyGenerator, IDatabase database, ISensitiveDataLogger<QueryCompiler> logger, MethodInfoBasedNodeTypeRegistry methodInfoBasedNodeTypeRegistry, ICurrentDbContext currentContext)Public Sub New(queryContextFactory As IQueryContextFactory, compiledQueryCache As ICompiledQueryCache, compiledQueryCacheKeyGenerator As ICompiledQueryCacheKeyGenerator, database As IDatabase, logger As ISensitiveDataLogger(Of QueryCompiler), methodInfoBasedNodeTypeRegistry As MethodInfoBasedNodeTypeRegistry, currentContext As ICurrentDbContext)

    Parameters

Properties

  • Database
    Database

    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.

    protected virtual IDatabase Database { get; }Protected Overridable ReadOnly Property Database As IDatabase

    Property Value

Methods

  • CompileAsyncQuery<TResult>(Expression)
    CompileAsyncQuery(Of TResult)(Expression)

    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.

    protected virtual Func<QueryContext, IAsyncEnumerable<TResult>> CompileAsyncQuery<TResult>(Expression query)Protected Overridable Function CompileAsyncQuery(Of TResult)(query As Expression) As Func(Of QueryContext, IAsyncEnumerable(Of TResult))

    Parameters

    • query
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

    Returns

    • System.Func<T, TResult><QueryContext, IAsyncEnumerable<><TResult>>
      System.Func<T, TResult>(Of QueryContext, IAsyncEnumerable<>(Of TResult))
  • CompileQuery<TResult>(Expression)
    CompileQuery(Of TResult)(Expression)

    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.

    protected virtual Func<QueryContext, TResult> CompileQuery<TResult>(Expression query)Protected Overridable Function CompileQuery(Of TResult)(query As Expression) As Func(Of QueryContext, TResult)

    Parameters

    • query
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

    Returns

  • Execute<TResult>(Expression)
    Execute(Of TResult)(Expression)

    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 virtual TResult Execute<TResult>(Expression query)Public Overridable Function Execute(Of TResult)(query As Expression) As TResult

    Parameters

    • query
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

    Returns

    • TResult
      TResult
  • ExecuteAsync<TResult>(Expression)
    ExecuteAsync(Of TResult)(Expression)

    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 virtual IAsyncEnumerable<TResult> ExecuteAsync<TResult>(Expression query)Public Overridable Function ExecuteAsync(Of TResult)(query As Expression) As IAsyncEnumerable(Of TResult)

    Parameters

    • query
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

    Returns

    • IAsyncEnumerable<><TResult>
      IAsyncEnumerable<>(Of TResult)
  • ExecuteAsync<TResult>(Expression, CancellationToken)
    ExecuteAsync(Of TResult)(Expression, CancellationToken)

    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 virtual Task<TResult> ExecuteAsync<TResult>(Expression query, CancellationToken cancellationToken)Public Overridable Function ExecuteAsync(Of TResult)(query As Expression, cancellationToken As CancellationToken) As Task(Of TResult)

    Parameters

    • query
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task<TResult><TResult>
      System.Threading.Tasks.Task<TResult>(Of TResult)
  • ExtractParameters(Expression, QueryContext)
    ExtractParameters(Expression, QueryContext)

    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.

    protected virtual Expression ExtractParameters(Expression query, QueryContext queryContext)Protected Overridable Function ExtractParameters(query As Expression, queryContext As QueryContext) As Expression

    Parameters

    Returns

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

Details

Assembly

Microsoft.EntityFrameworkCore.dll