Dela via


RelationalProjectionExpressionVisitorDependencies Constructor

Definition

Creates the service dependencies parameter object for a RelationalProjectionExpressionVisitor.

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 RelationalProjectionExpressionVisitorDependencies (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ISqlTranslatingExpressionVisitorFactory sqlTranslatingExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource entityMaterializerSource);
new Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalProjectionExpressionVisitorDependencies : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ISqlTranslatingExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalProjectionExpressionVisitorDependencies
Public Sub New (sqlTranslatingExpressionVisitorFactory As ISqlTranslatingExpressionVisitorFactory, entityMaterializerSource As IEntityMaterializerSource)

Parameters

sqlTranslatingExpressionVisitorFactory
ISqlTranslatingExpressionVisitorFactory

The SQL translating expression visitor factory.

entityMaterializerSource
Microsoft.EntityFrameworkCore.Metadata.Internal.IEntityMaterializerSource

The entity materializer source.

Applies to