Udostępnij za pośrednictwem


LiftableConstantProcessor Class

Definition

This is an experimental API used by the Entity Framework Core feature and it is not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public class LiftableConstantProcessor : System.Linq.Expressions.ExpressionVisitor, Microsoft.EntityFrameworkCore.Query.ILiftableConstantProcessor
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
type LiftableConstantProcessor = class
    inherit ExpressionVisitor
    interface ILiftableConstantProcessor
Public Class LiftableConstantProcessor
Inherits ExpressionVisitor
Implements ILiftableConstantProcessor
Inheritance
LiftableConstantProcessor
Derived
Attributes
Implements

Constructors

LiftableConstantProcessor(ShapedQueryCompilingExpressionVisitorDependencies)

Properties

LiftedConstants

Exposes all constants that have been lifted during the last invocation of LiftedConstants.

Methods

InlineConstant(LiftableConstantExpression)
InlineConstants(Expression, Boolean)

Inlines all liftable constants as simple ConstantExpression nodes in the tree, containing the result of evaluating the liftable constants' resolvers.

LiftConstant(LiftableConstantExpression)
LiftConstants(Expression, ParameterExpression, HashSet<String>)

Lifts all LiftableConstantExpression nodes, embedding ParameterExpression in their place and exposing the parameter and resolver via LiftedConstants.

VisitBinary(BinaryExpression)
VisitExtension(Expression)

Applies to