QueryContext QueryContext Class

Definition

The principal data structure used by a compiled query during execution.

public class QueryContext
Public Class QueryContext
Inheritance
System.ObjectSystem.Object
QueryContextQueryContext

Constructors

QueryContext(Func<IQueryBuffer>, LazyRef<IStateManager>, IConcurrencyDetector) QueryContext(Func(Of IQueryBuffer), LazyRef(Of IStateManager), 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.

Properties

CancellationToken CancellationToken

Gets or sets the cancellation token.

ConcurrencyDetector ConcurrencyDetector

Gets the concurrency detector.

ParameterValues ParameterValues

The parameter values.

QueryBuffer QueryBuffer

The query buffer.

QueryProvider QueryProvider

The query provider.

StateManager StateManager

The state manager.

Methods

AddParameter(String, Object) AddParameter(String, Object)

Adds a parameter.

BeginTrackingQuery() BeginTrackingQuery()

Notify the state manager that a tracking query is starting.

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
RemoveParameter(String) RemoveParameter(String)

Removes a parameter by name.

StartTracking(Object, EntityTrackingInfo) StartTracking(Object, EntityTrackingInfo)

Start tracking an entity.

System.Object.ToString() System.Object.ToString() Inherited from System.Object