Share via


RelationalCollectionShaperExpression Class

Definition

An expression that represents creation of a collection for relational provider in ShaperExpression.

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

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

Constructors

RelationalCollectionShaperExpression(Expression, Expression, Expression, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, Expression, INavigationBase, Type)

Creates a new instance of the RelationalCollectionShaperExpression class.

RelationalCollectionShaperExpression(Int32, Expression, Expression, Expression, Expression, INavigation, Type)
Obsolete.
Obsolete.

Creates a new instance of the RelationalCollectionShaperExpression class.

RelationalCollectionShaperExpression(Int32, Expression, Expression, Expression, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, Expression, INavigationBase, Type)
Obsolete.

Creates a new instance of the RelationalCollectionShaperExpression class.

Properties

CollectionId
Obsolete.

A unique id for this collection shaper.

ElementType

The clr type of elements of the collection.

InnerShaper

The expression to create inner elements.

Navigation

The navigation if associated with the collection.

NodeType

Gets the node type of this Expression.

OuterIdentifier

The identifier for the outer element.

OuterIdentifierValueComparers

The list of value comparers to compare outer identifier.

ParentIdentifier

The identifier for the parent element.

ParentIdentifierValueComparers

The list of value comparers to compare parent identifier.

SelfIdentifier

The identifier for the element in the collection.

SelfIdentifierValueComparers

The list of value comparers to compare self identifier.

Type

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

Methods

Print(ExpressionPrinter)
Update(Expression, Expression, Expression, Expression)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

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