SqlTranslatingExpressionVisitorDependencies Class

Definition

Service dependencies parameter class for SqlTranslatingExpressionVisitor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

public sealed class SqlTranslatingExpressionVisitorDependencies
type SqlTranslatingExpressionVisitorDependencies = class
Public NotInheritable Class SqlTranslatingExpressionVisitorDependencies
Inheritance
SqlTranslatingExpressionVisitorDependencies

Constructors

SqlTranslatingExpressionVisitorDependencies(IExpressionFragmentTranslator, ICompositeMethodCallTranslator, IMemberTranslator, IRelationalTypeMapper, IRelationalTypeMappingSource)

Creates the service dependencies parameter object for a SqlTranslatingExpressionVisitor.

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.

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.

SqlTranslatingExpressionVisitorDependencies(IExpressionFragmentTranslator, ICompositeMethodCallTranslator, IMemberTranslator, IRelationalTypeMapper)

Creates the service dependencies parameter object for a SqlTranslatingExpressionVisitor.

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.

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.

Properties

CompositeExpressionFragmentTranslator

The composite expression fragment translator.

MemberTranslator

The member translator.

MethodCallTranslator

The method call translator.

RelationalTypeMapper
Obsolete.

The relational type mapper.

TypeMappingSource

The type mapping source.

Methods

With(ICompositeMethodCallTranslator)

Clones this dependency parameter object with one service replaced.

With(IExpressionFragmentTranslator)

Clones this dependency parameter object with one service replaced.

With(IMemberTranslator)

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMapper)
Obsolete.

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

Applies to