Share via


EnumerableExpression Class

Definition

An expression that represents an enumerable or group translated from chain over a grouping element.

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

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

Constructors

EnumerableExpression(Expression)

Creates a new instance of the EnumerableExpression class.

Properties

IsDistinct

The value indicating if distinct operator is applied on the enumerable or not.

NodeType

Gets the node type of this Expression.

Orderings

The list of orderings to be applied to the enumerable.

Predicate

The value indicating any predicate applied on the enumerable.

Selector

The underlying expression being enumerated.

Type

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

Methods

AppendOrdering(OrderingExpression)

Appends ordering to the existing orderings of the EnumerableExpression.

ApplyDistinct()

Applies DISTINCT operator to the selector of the EnumerableExpression.

ApplyOrdering(OrderingExpression)

Applies ordering to the EnumerableExpression. This overwrites any previous ordering specified.

ApplyPredicate(SqlExpression)

Applies filter predicate to the EnumerableExpression.

ApplySelector(Expression)

Applies new selector to the EnumerableExpression.

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

Creates a printable string representation of the given expression using 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.

Applies to