RelationalMemberTranslatorProvider Class

Definition

Provides translations for LINQ MemberExpression expressions by dispatching to multiple specialized member translators.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

public class RelationalMemberTranslatorProvider : Microsoft.EntityFrameworkCore.Query.IMemberTranslatorProvider
type RelationalMemberTranslatorProvider = class
    interface IMemberTranslatorProvider
Public Class RelationalMemberTranslatorProvider
Implements IMemberTranslatorProvider
Inheritance
RelationalMemberTranslatorProvider
Implements

Constructors

RelationalMemberTranslatorProvider(RelationalMemberTranslatorProviderDependencies)

Creates a new instance of the RelationalMemberTranslatorProvider class.

Properties

Dependencies

Dependencies for this service.

Methods

AddTranslators(IEnumerable<IMemberTranslator>)

Adds additional translators which will take priority over existing registered translators.

Translate(SqlExpression, MemberInfo, Type, IDiagnosticsLogger<DbLoggerCategory.Query>)

Translates a LINQ MemberExpression to a SQL equivalent.

Translate(SqlExpression, MemberInfo, Type)

Applies to