RelationalQueryContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RelationalQueryContext(QueryContextDependencies, RelationalQueryContextDependencies) |
Creates a new RelationalQueryContext instance. This type is typically used by database providers (and other extensions). It is generally not used in application code. |
RelationalQueryContext(QueryContextDependencies, Func<IQueryBuffer>, IRelationalConnection, IExecutionStrategyFactory) |
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. |
RelationalQueryContext(Func<IQueryBuffer>, IRelationalConnection, 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. |
RelationalQueryContext(Func<IQueryBuffer>, IRelationalConnection, LazyRef<IStateManager>, IConcurrencyDetector, IExecutionStrategyFactory) |
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. |
RelationalQueryContext(QueryContextDependencies, RelationalQueryContextDependencies)
Creates a new RelationalQueryContext instance.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public RelationalQueryContext (Microsoft.EntityFrameworkCore.Query.QueryContextDependencies dependencies, Microsoft.EntityFrameworkCore.Query.RelationalQueryContextDependencies relationalDependencies);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryContext : Microsoft.EntityFrameworkCore.Query.QueryContextDependencies * Microsoft.EntityFrameworkCore.Query.RelationalQueryContextDependencies -> Microsoft.EntityFrameworkCore.Query.RelationalQueryContext
Public Sub New (dependencies As QueryContextDependencies, relationalDependencies As RelationalQueryContextDependencies)
Parameters
- dependencies
- QueryContextDependencies
Parameter object containing dependencies for this class.
- relationalDependencies
- RelationalQueryContextDependencies
Parameter object containing relational dependencies for this class.
Applies to
RelationalQueryContext(QueryContextDependencies, Func<IQueryBuffer>, IRelationalConnection, IExecutionStrategyFactory)
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 RelationalQueryContext (Microsoft.EntityFrameworkCore.Query.QueryContextDependencies dependencies, Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> queryBufferFactory, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryContext : Microsoft.EntityFrameworkCore.Query.QueryContextDependencies * Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryContext
Public Sub New (dependencies As QueryContextDependencies, queryBufferFactory As Func(Of IQueryBuffer), connection As IRelationalConnection, executionStrategyFactory As IExecutionStrategyFactory)
Parameters
- dependencies
- QueryContextDependencies
- queryBufferFactory
- Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer>
- connection
- IRelationalConnection
- executionStrategyFactory
- IExecutionStrategyFactory
Applies to
RelationalQueryContext(Func<IQueryBuffer>, IRelationalConnection, 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 RelationalQueryContext (Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> queryBufferFactory, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager stateManager, Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector concurrencyDetector);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryContext : Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager * Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector -> Microsoft.EntityFrameworkCore.Query.RelationalQueryContext
Public Sub New (queryBufferFactory As Func(Of IQueryBuffer), connection As IRelationalConnection, stateManager As IStateManager, concurrencyDetector As IConcurrencyDetector)
Parameters
- queryBufferFactory
- Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer>
- connection
- IRelationalConnection
- stateManager
- Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager
- concurrencyDetector
- Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector
Applies to
RelationalQueryContext(Func<IQueryBuffer>, IRelationalConnection, LazyRef<IStateManager>, IConcurrencyDetector, IExecutionStrategyFactory)
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 RelationalQueryContext (Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> queryBufferFactory, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Internal.LazyRef<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager> stateManager, Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector concurrencyDetector, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryContext : Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Internal.LazyRef<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager> * Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryContext
Public Sub New (queryBufferFactory As Func(Of IQueryBuffer), connection As IRelationalConnection, stateManager As LazyRef(Of IStateManager), concurrencyDetector As IConcurrencyDetector, executionStrategyFactory As IExecutionStrategyFactory)
Parameters
- queryBufferFactory
- Func<Microsoft.EntityFrameworkCore.Query.Internal.IQueryBuffer>
- connection
- IRelationalConnection
- stateManager
- Microsoft.EntityFrameworkCore.Internal.LazyRef<Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager>
- concurrencyDetector
- Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector
- executionStrategyFactory
- IExecutionStrategyFactory
Applies to
Entity Framework