Share via


IAggregateMethodCallTranslatorProvider Interface

Definition

Provides translations for LINQ MethodCallExpression expressions which represents aggregate methods.

public interface IAggregateMethodCallTranslatorProvider
type IAggregateMethodCallTranslatorProvider = interface
Public Interface IAggregateMethodCallTranslatorProvider
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, MethodInfo, EnumerableExpression, IReadOnlyList<SqlExpression>, IDiagnosticsLogger<DbLoggerCategory.Query>)

Translates a LINQ aggregate MethodCallExpression to a SQL equivalent.

Applies to