QueryContextFactory QueryContextFactory Class

A factory for QueryContext instances.

Syntax

Declaration

public abstract class QueryContextFactory : IQueryContextFactoryPublic MustInherit Class QueryContextFactory
    Implements IQueryContextFactory

Inheritance Hierarchy

  • System.Object
    System.Object
  • QueryContextFactory
    QueryContextFactory

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

Gets the change detector.

Gets the concurrency detector.

Gets the state manager.

Methods summary

Creates a new QueryContext.

Creates a query buffer.

Constructors

  • QueryContextFactory(ICurrentDbContext, IConcurrencyDetector)
    QueryContextFactory(ICurrentDbContext, IConcurrencyDetector)

    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 QueryContextFactory(ICurrentDbContext currentContext, IConcurrencyDetector concurrencyDetector)Protected Sub New(currentContext As ICurrentDbContext, concurrencyDetector As IConcurrencyDetector)

    Parameters

Properties

  • ChangeDetector
    ChangeDetector

    Gets the change detector.

    protected virtual LazyRef<IChangeDetector> ChangeDetector { get; }Protected Overridable ReadOnly Property ChangeDetector As LazyRef(Of IChangeDetector)

    Property Value

  • ConcurrencyDetector
    ConcurrencyDetector

    Gets the concurrency detector.

    protected virtual IConcurrencyDetector ConcurrencyDetector { get; }Protected Overridable ReadOnly Property ConcurrencyDetector As IConcurrencyDetector

    Property Value

  • StateManager
    StateManager

    Gets the state manager.

    protected virtual LazyRef<IStateManager> StateManager { get; }Protected Overridable ReadOnly Property StateManager As LazyRef(Of IStateManager)

    Property Value

Methods

  • Create()
    Create()

    Creates a new QueryContext.

    public abstract QueryContext Create()Public MustOverride Function Create As QueryContext

    Returns

  • CreateQueryBuffer()
    CreateQueryBuffer()

    Creates a query buffer.

    protected virtual IQueryBuffer CreateQueryBuffer()Protected Overridable Function CreateQueryBuffer As IQueryBuffer

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.dll