QueryCompilationContextDependencies Constructors

Definition

Overloads

QueryCompilationContextDependencies(IModel, IQueryTranslationPreprocessorFactory, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryTranslationPostprocessorFactory, IShapedQueryCompilingExpressionVisitorFactory, ICurrentDbContext, IDbContextOptions, IDiagnosticsLogger<DbLoggerCategory.Query>)

Creates the service dependencies parameter object for a QueryCompilationContext.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

QueryCompilationContextDependencies(IModel, IQueryTranslationPreprocessorFactory, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryTranslationPostprocessorFactory, IShapedQueryCompilingExpressionVisitorFactory, IExecutionStrategy, ICurrentDbContext, IDbContextOptions, IDiagnosticsLogger<DbLoggerCategory.Query>)

Creates the service dependencies parameter object for a QueryCompilationContext.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

QueryCompilationContextDependencies(IModel, IQueryTranslationPreprocessorFactory, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryTranslationPostprocessorFactory, IShapedQueryCompilingExpressionVisitorFactory, IExecutionStrategyFactory, ICurrentDbContext, IDbContextOptions, IDiagnosticsLogger<DbLoggerCategory.Query>)

Creates the service dependencies parameter object for a QueryCompilationContext.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

QueryCompilationContextDependencies(IModel, IQueryTranslationPreprocessorFactory, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryTranslationPostprocessorFactory, IShapedQueryCompilingExpressionVisitorFactory, IExecutionStrategy, ICurrentDbContext, IDbContextOptions, IDiagnosticsLogger<DbLoggerCategory.Query>, IInterceptors)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

QueryCompilationContextDependencies(IModel, IQueryTranslationPreprocessorFactory, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryTranslationPostprocessorFactory, IShapedQueryCompilingExpressionVisitorFactory, ICurrentDbContext, IDbContextOptions, IDiagnosticsLogger<DbLoggerCategory.Query>)

Creates the service dependencies parameter object for a QueryCompilationContext.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public QueryCompilationContextDependencies (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Query.IQueryTranslationPreprocessorFactory queryTranslationPreprocessorFactory, Microsoft.EntityFrameworkCore.Query.IQueryableMethodTranslatingExpressionVisitorFactory queryableMethodTranslatingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.IQueryTranslationPostprocessorFactory queryTranslationPostprocessorFactory, Microsoft.EntityFrameworkCore.Query.IShapedQueryCompilingExpressionVisitorFactory shapedQueryCompilingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions contextOptions, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Query.IQueryTranslationPreprocessorFactory * Microsoft.EntityFrameworkCore.Query.IQueryableMethodTranslatingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.IQueryTranslationPostprocessorFactory * Microsoft.EntityFrameworkCore.Query.IShapedQueryCompilingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies
Public Sub New (model As IModel, queryTranslationPreprocessorFactory As IQueryTranslationPreprocessorFactory, queryableMethodTranslatingExpressionVisitorFactory As IQueryableMethodTranslatingExpressionVisitorFactory, queryTranslationPostprocessorFactory As IQueryTranslationPostprocessorFactory, shapedQueryCompilingExpressionVisitorFactory As IShapedQueryCompilingExpressionVisitorFactory, currentContext As ICurrentDbContext, contextOptions As IDbContextOptions, logger As IDiagnosticsLogger(Of DbLoggerCategory.Query))

Parameters

model
IModel
queryTranslationPreprocessorFactory
IQueryTranslationPreprocessorFactory
queryableMethodTranslatingExpressionVisitorFactory
IQueryableMethodTranslatingExpressionVisitorFactory
queryTranslationPostprocessorFactory
IQueryTranslationPostprocessorFactory
shapedQueryCompilingExpressionVisitorFactory
IShapedQueryCompilingExpressionVisitorFactory
currentContext
ICurrentDbContext
contextOptions
IDbContextOptions
Attributes

Applies to

QueryCompilationContextDependencies(IModel, IQueryTranslationPreprocessorFactory, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryTranslationPostprocessorFactory, IShapedQueryCompilingExpressionVisitorFactory, IExecutionStrategy, ICurrentDbContext, IDbContextOptions, IDiagnosticsLogger<DbLoggerCategory.Query>)

Creates the service dependencies parameter object for a QueryCompilationContext.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public QueryCompilationContextDependencies (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Query.IQueryTranslationPreprocessorFactory queryTranslationPreprocessorFactory, Microsoft.EntityFrameworkCore.Query.IQueryableMethodTranslatingExpressionVisitorFactory queryableMethodTranslatingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.IQueryTranslationPostprocessorFactory queryTranslationPostprocessorFactory, Microsoft.EntityFrameworkCore.Query.IShapedQueryCompilingExpressionVisitorFactory shapedQueryCompilingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy executionStrategy, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions contextOptions, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Query.IQueryTranslationPreprocessorFactory * Microsoft.EntityFrameworkCore.Query.IQueryableMethodTranslatingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.IQueryTranslationPostprocessorFactory * Microsoft.EntityFrameworkCore.Query.IShapedQueryCompilingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies
Public Sub New (model As IModel, queryTranslationPreprocessorFactory As IQueryTranslationPreprocessorFactory, queryableMethodTranslatingExpressionVisitorFactory As IQueryableMethodTranslatingExpressionVisitorFactory, queryTranslationPostprocessorFactory As IQueryTranslationPostprocessorFactory, shapedQueryCompilingExpressionVisitorFactory As IShapedQueryCompilingExpressionVisitorFactory, executionStrategy As IExecutionStrategy, currentContext As ICurrentDbContext, contextOptions As IDbContextOptions, logger As IDiagnosticsLogger(Of DbLoggerCategory.Query))

Parameters

model
IModel
queryTranslationPreprocessorFactory
IQueryTranslationPreprocessorFactory
queryableMethodTranslatingExpressionVisitorFactory
IQueryableMethodTranslatingExpressionVisitorFactory
queryTranslationPostprocessorFactory
IQueryTranslationPostprocessorFactory
shapedQueryCompilingExpressionVisitorFactory
IShapedQueryCompilingExpressionVisitorFactory
executionStrategy
IExecutionStrategy
currentContext
ICurrentDbContext
contextOptions
IDbContextOptions
Attributes

Applies to

QueryCompilationContextDependencies(IModel, IQueryTranslationPreprocessorFactory, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryTranslationPostprocessorFactory, IShapedQueryCompilingExpressionVisitorFactory, IExecutionStrategyFactory, ICurrentDbContext, IDbContextOptions, IDiagnosticsLogger<DbLoggerCategory.Query>)

Creates the service dependencies parameter object for a QueryCompilationContext.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public QueryCompilationContextDependencies (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Query.IQueryTranslationPreprocessorFactory queryTranslationPreprocessorFactory, Microsoft.EntityFrameworkCore.Query.IQueryableMethodTranslatingExpressionVisitorFactory queryableMethodTranslatingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.IQueryTranslationPostprocessorFactory queryTranslationPostprocessorFactory, Microsoft.EntityFrameworkCore.Query.IShapedQueryCompilingExpressionVisitorFactory shapedQueryCompilingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions contextOptions, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Query.IQueryTranslationPreprocessorFactory * Microsoft.EntityFrameworkCore.Query.IQueryableMethodTranslatingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.IQueryTranslationPostprocessorFactory * Microsoft.EntityFrameworkCore.Query.IShapedQueryCompilingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies
Public Sub New (model As IModel, queryTranslationPreprocessorFactory As IQueryTranslationPreprocessorFactory, queryableMethodTranslatingExpressionVisitorFactory As IQueryableMethodTranslatingExpressionVisitorFactory, queryTranslationPostprocessorFactory As IQueryTranslationPostprocessorFactory, shapedQueryCompilingExpressionVisitorFactory As IShapedQueryCompilingExpressionVisitorFactory, executionStrategyFactory As IExecutionStrategyFactory, currentContext As ICurrentDbContext, contextOptions As IDbContextOptions, logger As IDiagnosticsLogger(Of DbLoggerCategory.Query))

Parameters

model
IModel
queryTranslationPreprocessorFactory
IQueryTranslationPreprocessorFactory
queryableMethodTranslatingExpressionVisitorFactory
IQueryableMethodTranslatingExpressionVisitorFactory
queryTranslationPostprocessorFactory
IQueryTranslationPostprocessorFactory
shapedQueryCompilingExpressionVisitorFactory
IShapedQueryCompilingExpressionVisitorFactory
executionStrategyFactory
IExecutionStrategyFactory
currentContext
ICurrentDbContext
contextOptions
IDbContextOptions
Attributes

Applies to

QueryCompilationContextDependencies(IModel, IQueryTranslationPreprocessorFactory, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryTranslationPostprocessorFactory, IShapedQueryCompilingExpressionVisitorFactory, IExecutionStrategy, ICurrentDbContext, IDbContextOptions, IDiagnosticsLogger<DbLoggerCategory.Query>, IInterceptors)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public QueryCompilationContextDependencies (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Query.IQueryTranslationPreprocessorFactory queryTranslationPreprocessorFactory, Microsoft.EntityFrameworkCore.Query.IQueryableMethodTranslatingExpressionVisitorFactory queryableMethodTranslatingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.IQueryTranslationPostprocessorFactory queryTranslationPostprocessorFactory, Microsoft.EntityFrameworkCore.Query.IShapedQueryCompilingExpressionVisitorFactory shapedQueryCompilingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy executionStrategy, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions contextOptions, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger, Microsoft.EntityFrameworkCore.Diagnostics.IInterceptors interceptors);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Query.IQueryTranslationPreprocessorFactory * Microsoft.EntityFrameworkCore.Query.IQueryableMethodTranslatingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.IQueryTranslationPostprocessorFactory * Microsoft.EntityFrameworkCore.Query.IShapedQueryCompilingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> * Microsoft.EntityFrameworkCore.Diagnostics.IInterceptors -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies
Public Sub New (model As IModel, queryTranslationPreprocessorFactory As IQueryTranslationPreprocessorFactory, queryableMethodTranslatingExpressionVisitorFactory As IQueryableMethodTranslatingExpressionVisitorFactory, queryTranslationPostprocessorFactory As IQueryTranslationPostprocessorFactory, shapedQueryCompilingExpressionVisitorFactory As IShapedQueryCompilingExpressionVisitorFactory, executionStrategy As IExecutionStrategy, currentContext As ICurrentDbContext, contextOptions As IDbContextOptions, logger As IDiagnosticsLogger(Of DbLoggerCategory.Query), interceptors As IInterceptors)

Parameters

model
IModel
queryTranslationPreprocessorFactory
IQueryTranslationPreprocessorFactory
queryableMethodTranslatingExpressionVisitorFactory
IQueryableMethodTranslatingExpressionVisitorFactory
queryTranslationPostprocessorFactory
IQueryTranslationPostprocessorFactory
shapedQueryCompilingExpressionVisitorFactory
IShapedQueryCompilingExpressionVisitorFactory
executionStrategy
IExecutionStrategy
currentContext
ICurrentDbContext
contextOptions
IDbContextOptions
interceptors
IInterceptors
Attributes

Remarks

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the C# 'with' operator. Do not call the constructor at any point in this process.

Applies to