IMethodCallTranslatorProvider Interface

Definition

Provides translations for LINQ MethodCallExpression expressions which represents scalar methods.

public interface IMethodCallTranslatorProvider
type IMethodCallTranslatorProvider = interface
Public Interface IMethodCallTranslatorProvider
Derived

Remarks

The service lifetime is Scoped and multiple registrations are allowed. This means that each DbContext instance will use its own set of instances of this service. The implementations may depend on other services registered with any lifetime. The implementations do not need to be thread-safe.

Methods

Translate(IModel, SqlExpression, MethodInfo, IReadOnlyList<SqlExpression>, IDiagnosticsLogger<DbLoggerCategory.Query>)

Translates a LINQ MethodCallExpression to a SQL equivalent.

Translate(IModel, SqlExpression, MethodInfo, IReadOnlyList<SqlExpression>)

Applies to