Share via


SqlTranslatingExpressionVisitorDependencies Constructors

Definition

Overloads

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.

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.

public SqlTranslatingExpressionVisitorDependencies (Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IExpressionFragmentTranslator compositeExpressionFragmentTranslator, Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.ICompositeMethodCallTranslator methodCallTranslator, Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMemberTranslator memberTranslator, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper relationalTypeMapper);
new Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies : Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IExpressionFragmentTranslator * Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.ICompositeMethodCallTranslator * Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMemberTranslator * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies
Public Sub New (compositeExpressionFragmentTranslator As IExpressionFragmentTranslator, methodCallTranslator As ICompositeMethodCallTranslator, memberTranslator As IMemberTranslator, relationalTypeMapper As IRelationalTypeMapper)

Parameters

compositeExpressionFragmentTranslator
IExpressionFragmentTranslator

The composite expression fragment translator.

methodCallTranslator
ICompositeMethodCallTranslator

The method call translator.

memberTranslator
IMemberTranslator

The member translator.

relationalTypeMapper
IRelationalTypeMapper

The relational type mapper.

Applies to

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.

public SqlTranslatingExpressionVisitorDependencies (Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IExpressionFragmentTranslator compositeExpressionFragmentTranslator, Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.ICompositeMethodCallTranslator methodCallTranslator, Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMemberTranslator memberTranslator, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper relationalTypeMapper, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
new Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies : Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IExpressionFragmentTranslator * Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.ICompositeMethodCallTranslator * Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMemberTranslator * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies
Public Sub New (compositeExpressionFragmentTranslator As IExpressionFragmentTranslator, methodCallTranslator As ICompositeMethodCallTranslator, memberTranslator As IMemberTranslator, relationalTypeMapper As IRelationalTypeMapper, typeMappingSource As IRelationalTypeMappingSource)

Parameters

compositeExpressionFragmentTranslator
IExpressionFragmentTranslator

The composite expression fragment translator.

methodCallTranslator
ICompositeMethodCallTranslator

The method call translator.

memberTranslator
IMemberTranslator

The member translator.

relationalTypeMapper
IRelationalTypeMapper

The relational type mapper.

typeMappingSource
IRelationalTypeMappingSource

The type mapper.

Applies to