RelationalQueryableMethodTranslatingExpressionVisitor.TranslateDefaultIfEmpty Metodo

Definizione

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

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateDefaultIfEmpty (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression defaultValue);
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

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