RelationalQueryCompilationContextFactory RelationalQueryCompilationContextFactory Class

A relational factory for instances of QueryCompilationContext.

Syntax

Declaration

public class RelationalQueryCompilationContextFactory : QueryCompilationContextFactory, IQueryCompilationContextFactoryPublic Class RelationalQueryCompilationContextFactory
    Inherits QueryCompilationContextFactory
    Implements IQueryCompilationContextFactory

Inheritance Hierarchy

Inherited Members

Model,
Model,
Logger,
Logger,
EntityQueryModelVisitorFactory,
EntityQueryModelVisitorFactory,
RequiresMaterializationExpressionVisitorFactory,
RequiresMaterializationExpressionVisitorFactory,
ContextType,
ContextType,
TrackQueryResults,
TrackQueryResults,
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

Creates a new QueryCompilationContext.

Constructors

  • RelationalQueryCompilationContextFactory(IModel, ISensitiveDataLogger<RelationalQueryCompilationContextFactory>, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, MethodInfoBasedNodeTypeRegistry, ICurrentDbContext)
    RelationalQueryCompilationContextFactory(IModel, ISensitiveDataLogger(Of RelationalQueryCompilationContextFactory), IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, 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 RelationalQueryCompilationContextFactory(IModel model, ISensitiveDataLogger<RelationalQueryCompilationContextFactory> logger, IEntityQueryModelVisitorFactory entityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory requiresMaterializationExpressionVisitorFactory, MethodInfoBasedNodeTypeRegistry methodInfoBasedNodeTypeRegistry, ICurrentDbContext currentContext)Public Sub New(model As IModel, logger As ISensitiveDataLogger(Of RelationalQueryCompilationContextFactory), entityQueryModelVisitorFactory As IEntityQueryModelVisitorFactory, requiresMaterializationExpressionVisitorFactory As IRequiresMaterializationExpressionVisitorFactory, methodInfoBasedNodeTypeRegistry As MethodInfoBasedNodeTypeRegistry, currentContext As ICurrentDbContext)

    Parameters

Methods

  • Create(Boolean)
    Create(Boolean)

    Creates a new QueryCompilationContext.

    public override QueryCompilationContext Create(bool async)Public Overrides Function Create(async As Boolean) As QueryCompilationContext

    Parameters

    • async
      System.Boolean
      System.Boolean

      true if the query is asynchronous.

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll