共用方式為


RelationalSqlTranslatingExpressionVisitor.TryTranslateAggregateMethodCall Method

Definition

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual bool TryTranslateAggregateMethodCall (System.Linq.Expressions.MethodCallExpression methodCallExpression, out Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? translation);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member TryTranslateAggregateMethodCall : System.Linq.Expressions.MethodCallExpression * SqlExpression -> bool
override this.TryTranslateAggregateMethodCall : System.Linq.Expressions.MethodCallExpression * SqlExpression -> bool
Protected Overridable Function TryTranslateAggregateMethodCall (methodCallExpression As MethodCallExpression, ByRef translation As SqlExpression) As Boolean

Parameters

methodCallExpression
MethodCallExpression
translation
SqlExpression

Returns

Attributes

Applies to