RelationalQueryContext 构造函数

定义

重载

RelationalQueryContext(QueryContextDependencies, RelationalQueryContextDependencies)

创建一个新的 RelationalQueryContext 实例。

此类型通常由数据库提供程序 (和其他扩展) 使用。 它通常不用于应用程序代码。

RelationalQueryContext(QueryContextDependencies, Func<IQueryBuffer>, IRelationalConnection, IExecutionStrategyFactory)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

RelationalQueryContext(Func<IQueryBuffer>, IRelationalConnection, IStateManager, IConcurrencyDetector)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

RelationalQueryContext(Func<IQueryBuffer>, IRelationalConnection, LazyRef<IStateManager>, IConcurrencyDetector, IExecutionStrategyFactory)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

RelationalQueryContext(QueryContextDependencies, RelationalQueryContextDependencies)

创建一个新的 RelationalQueryContext 实例。

此类型通常由数据库提供程序 (和其他扩展) 使用。 它通常不用于应用程序代码。

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)

参数

dependencies
QueryContextDependencies

包含此类依赖项的参数对象。

relationalDependencies
RelationalQueryContextDependencies

包含此类的关系依赖项的参数对象。

适用于

RelationalQueryContext(QueryContextDependencies, Func<IQueryBuffer>, IRelationalConnection, IExecutionStrategyFactory)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

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)

参数

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

适用于

RelationalQueryContext(Func<IQueryBuffer>, IRelationalConnection, IStateManager, IConcurrencyDetector)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

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)

参数

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

适用于

RelationalQueryContext(Func<IQueryBuffer>, IRelationalConnection, LazyRef<IStateManager>, IConcurrencyDetector, IExecutionStrategyFactory)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

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)

参数

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

适用于