Compartilhar via


QueryRootProcessor.ShouldConvertToInlineQueryRoot Method

Definition

Overloads

ShouldConvertToInlineQueryRoot(Expression)

Determines whether a Expression should be converted to a InlineQueryRootExpression.

ShouldConvertToInlineQueryRoot(NewArrayExpression)

Determines whether a ConstantExpression should be converted to a InlineQueryRootExpression. This handles cases inline expressions whose elements are all constants.

ShouldConvertToInlineQueryRoot(Expression)

Source:
QueryRootProcessor.cs

Determines whether a Expression should be converted to a InlineQueryRootExpression.

protected virtual bool ShouldConvertToInlineQueryRoot (System.Linq.Expressions.Expression expression);
abstract member ShouldConvertToInlineQueryRoot : System.Linq.Expressions.Expression -> bool
override this.ShouldConvertToInlineQueryRoot : System.Linq.Expressions.Expression -> bool
Protected Overridable Function ShouldConvertToInlineQueryRoot (expression As Expression) As Boolean

Parameters

expression
Expression

The expression that's a candidate for conversion to a query root.

Returns

Applies to

ShouldConvertToInlineQueryRoot(NewArrayExpression)

Source:
QueryRootProcessor.cs

Determines whether a ConstantExpression should be converted to a InlineQueryRootExpression. This handles cases inline expressions whose elements are all constants.

protected virtual bool ShouldConvertToInlineQueryRoot (System.Linq.Expressions.NewArrayExpression newArrayExpression);
abstract member ShouldConvertToInlineQueryRoot : System.Linq.Expressions.NewArrayExpression -> bool
override this.ShouldConvertToInlineQueryRoot : System.Linq.Expressions.NewArrayExpression -> bool
Protected Overridable Function ShouldConvertToInlineQueryRoot (newArrayExpression As NewArrayExpression) As Boolean

Parameters

newArrayExpression
NewArrayExpression

The new array expression that's a candidate for conversion to a query root.

Returns

Applies to