RelationalQueryableMethodTranslatingExpressionVisitor.TranslateDefaultIfEmpty(ShapedQueryExpression, Expression) Método

Definição

Traduz DefaultIfEmpty<TSource>(IQueryable<TSource>) o método e outras sobrecargas sobre a origem especificada.

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateDefaultIfEmpty (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression defaultValue);
override this.TranslateDefaultIfEmpty : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateDefaultIfEmpty (source As ShapedQueryExpression, defaultValue As Expression) As ShapedQueryExpression

Parâmetros

source
ShapedQueryExpression

A consulta moldada na qual o operador é aplicado.

defaultValue
Expression

O valor padrão a ser usado.

Retornos

ShapedQueryExpression

A consulta moldada após a tradução.

Aplica-se a