Partilhar via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateLambdaExpression Método

Definição

Converte a expressão lambda fornecida para a origem ShapedQueryExpression em representação 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

Parâmetros

shapedQueryExpression
ShapedQueryExpression

Um ShapedQueryExpression no qual a expressão lambda está sendo aplicada.

lambdaExpression
LambdaExpression

Um LambdaExpression a ser convertido em SQL.

Retornos

Um SqlExpression que é a tradução de determinada expressão lambda ou null.

Aplica-se a