QueryContextFactory QueryContextFactory Class

Definition

A factory for QueryContext instances.

public abstract class QueryContextFactory : IQueryContextFactory
Public MustInherit Class QueryContextFactory
    Implements IQueryContextFactory
Inheritance
System.ObjectSystem.Object
QueryContextFactoryQueryContextFactory
Implements

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)
Value
LazyRef<IChangeDetector> LazyRef(Of IChangeDetector)

The change detector.

ConcurrencyDetector ConcurrencyDetector

Gets the concurrency detector.

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

The concurrency detector.

StateManager StateManager

Gets the state manager.

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

The state manager.

Methods

Create() Create()

Creates a new QueryContext.

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

A QueryContext.

CreateQueryBuffer() CreateQueryBuffer()

Creates a query buffer.

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

The new query buffer.

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object