Share via


QueryContext Constructors

Definition

Overloads

QueryContext(QueryContextDependencies)

Creates a new QueryContext instance.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QueryContext(QueryContextDependencies, Func<IQueryBuffer>)

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.

QueryContext(Func<IQueryBuffer>, 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.

QueryContext(Func<IQueryBuffer>, LazyRef<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.

QueryContext(QueryContextDependencies)

Creates a new QueryContext instance.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

protected QueryContext (Microsoft.EntityFrameworkCore.Query.QueryContextDependencies dependencies);
new Microsoft.EntityFrameworkCore.Query.QueryContext : Microsoft.EntityFrameworkCore.Query.QueryContextDependencies -> Microsoft.EntityFrameworkCore.Query.QueryContext
Protected Sub New (dependencies As QueryContextDependencies)

Parameters

dependencies
QueryContextDependencies

The dependencies to use.

Applies to

QueryContext(QueryContextDependencies, Func<IQueryBuffer>)

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 QueryContext (Microsoft.EntityFrameworkCore.Query.QueryContextDependencies dependencies, Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> queryBufferFactory);
new Microsoft.EntityFrameworkCore.Query.QueryContext : Microsoft.EntityFrameworkCore.Query.QueryContextDependencies * Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> -> Microsoft.EntityFrameworkCore.Query.QueryContext
Public Sub New (dependencies As QueryContextDependencies, queryBufferFactory As Func(Of IQueryBuffer))

Parameters

queryBufferFactory
Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer>

Applies to

QueryContext(Func<IQueryBuffer>, 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.

public QueryContext (Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> queryBufferFactory, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager stateManager, Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector concurrencyDetector);
new Microsoft.EntityFrameworkCore.Query.QueryContext : Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager * Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector -> Microsoft.EntityFrameworkCore.Query.QueryContext
Public Sub New (queryBufferFactory As Func(Of IQueryBuffer), stateManager As IStateManager, concurrencyDetector As IConcurrencyDetector)

Parameters

queryBufferFactory
Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer>
stateManager
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager
concurrencyDetector
Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector

Applies to

QueryContext(Func<IQueryBuffer>, LazyRef<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.

public QueryContext (Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> queryBufferFactory, Microsoft.EntityFrameworkCore.Internal.LazyRef<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager> stateManager, Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector concurrencyDetector);
new Microsoft.EntityFrameworkCore.Query.QueryContext : Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> * Microsoft.EntityFrameworkCore.Internal.LazyRef<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager> * Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector -> Microsoft.EntityFrameworkCore.Query.QueryContext
Public Sub New (queryBufferFactory As Func(Of IQueryBuffer), stateManager As LazyRef(Of IStateManager), concurrencyDetector As IConcurrencyDetector)

Parameters

queryBufferFactory
Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer>
stateManager
Microsoft.EntityFrameworkCore.Internal.LazyRef<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager>
concurrencyDetector
Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector

Applies to