共用方式為


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

適用於