ILiftableConstantProcessor.InlineConstants(Expression, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inlines all liftable constants as simple ConstantExpression nodes in the tree, containing the result of evaluating the liftable constants' resolvers.
public System.Linq.Expressions.Expression InlineConstants (System.Linq.Expressions.Expression expression, bool supportsPrecompiledQuery);
abstract member InlineConstants : System.Linq.Expressions.Expression * bool -> System.Linq.Expressions.Expression
Public Function InlineConstants (expression As Expression, supportsPrecompiledQuery As Boolean) As Expression
Parameters
- expression
- Expression
An expression containing LiftableConstantExpression nodes.
- supportsPrecompiledQuery
- Boolean
A value indicating whether precompiled queries are supported by the provider.
Returns
An expression tree containing ConstantExpression nodes instead of LiftableConstantExpression nodes.
Remarks
Liftable constant inlining is performed in the regular, non-precompiled query pipeline flow.