RelationalQueryableMethodTranslatingExpressionVisitor.TranslateLambdaExpression Metodo

Definizione

Converte l'espressione lambda specificata per l'origine ShapedQueryExpression in rappresentazione SQL equivalente.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? TranslateLambdaExpression (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression shapedQueryExpression, System.Linq.Expressions.LambdaExpression lambdaExpression);
abstract member TranslateLambdaExpression : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateLambdaExpression : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function TranslateLambdaExpression (shapedQueryExpression As ShapedQueryExpression, lambdaExpression As LambdaExpression) As SqlExpression

Parametri

shapedQueryExpression
ShapedQueryExpression

Oggetto ShapedQueryExpression in cui viene applicata l'espressione lambda.

lambdaExpression
LambdaExpression

Oggetto LambdaExpression da convertire in SQL.

Restituisce

Oggetto SqlExpression che è la conversione di un'espressione lambda specificata o null.

Si applica a