Share via


QueryRootProcessor.ShouldConvertToInlineQueryRoot(NewArrayExpression) Method

Definition

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