共用方式為


RelationalQueryContextFactory 建構函式

定義

此 API 支援 Entity Framework Core 基礎結構,並不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

public RelationalQueryContextFactory (Microsoft.EntityFrameworkCore.Query.QueryContextDependencies dependencies, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryContextFactory : Microsoft.EntityFrameworkCore.Query.QueryContextDependencies * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryContextFactory
Public Sub New (dependencies As QueryContextDependencies, connection As IRelationalConnection, executionStrategyFactory As IExecutionStrategyFactory)

參數

executionStrategyFactory
IExecutionStrategyFactory

適用於