Condividi tramite


QueryableMethodTranslatingExpressionVisitor.TranslateDefaultIfEmpty Metodo

Definizione

Converte DefaultIfEmpty<TSource>(IQueryable<TSource>) il metodo e altri overload sull'origine specificata.

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateDefaultIfEmpty (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression defaultValue);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateDefaultIfEmpty (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression? defaultValue);
abstract member TranslateDefaultIfEmpty : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function TranslateDefaultIfEmpty (source As ShapedQueryExpression, defaultValue As Expression) As ShapedQueryExpression

Parametri

source
ShapedQueryExpression

Query con forma su cui viene applicato l'operatore.

defaultValue
Expression

Valore predefinito da usare.

Restituisce

Query con forma dopo la traduzione.

Si applica a