ProjectionBindingExpression Class

Definition

An expression that gets values from QueryExpression to be used in ShaperExpression while creating results.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class ProjectionBindingExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
type ProjectionBindingExpression = class
    inherit Expression
    interface IPrintableExpression
Public Class ProjectionBindingExpression
Inherits Expression
Implements IPrintableExpression
Inheritance
ProjectionBindingExpression
Implements

Remarks

See Implementation of database providers and extensions and How EF Core queries work for more information and examples.

Constructors

ProjectionBindingExpression(Expression, IDictionary<IProperty,Int32>)

Creates a new instance of the ProjectionBindingExpression class.

ProjectionBindingExpression(Expression, Int32, Type)

Creates a new instance of the ProjectionBindingExpression class.

ProjectionBindingExpression(Expression, IReadOnlyDictionary<IProperty,Int32>)
Obsolete.

Creates a new instance of the ProjectionBindingExpression class.

ProjectionBindingExpression(Expression, ProjectionMember, Type)

Creates a new instance of the ProjectionBindingExpression class.

Properties

Index

The projection member to bind if binding is via projection index.

IndexMap
Obsolete.

The projection member to bind if binding is via index map for a value buffer.

NodeType

Gets the node type of this Expression.

ProjectionMember

The projection member to bind if binding is via projection member.

QueryExpression

The query expression to bind with.

Type

Gets the static type of the expression that this Expression represents.

Methods

Equals(Object) System.Linq.Expressions.Expression.Equals(System.Object)
GetHashCode() System.Linq.Expressions.Expression.GetHashCode
Print(ExpressionPrinter)
VisitChildren(ExpressionVisitor)

Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.

Explicit Interface Implementations

IPrintableExpression.Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

Applies to