MaterializeCollectionNavigationExpression Class

Definition

An expression that represents materialization of a collection navigation in ShaperExpression.

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

public class MaterializeCollectionNavigationExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
[System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")]
public class MaterializeCollectionNavigationExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
type MaterializeCollectionNavigationExpression = class
    inherit Expression
    interface IPrintableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
type MaterializeCollectionNavigationExpression = class
    inherit Expression
    interface IPrintableExpression
Public Class MaterializeCollectionNavigationExpression
Inherits Expression
Implements IPrintableExpression
Inheritance
MaterializeCollectionNavigationExpression
Attributes
Implements

Remarks

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

Constructors

MaterializeCollectionNavigationExpression(Expression, INavigation)
MaterializeCollectionNavigationExpression(Expression, INavigationBase)

Creates a new instance of the MaterializeCollectionNavigationExpression class.

Properties

Navigation

The navigation associated with this collection.

NodeType

Gets the node type of this Expression.

Subquery

The expression that returns the values from query used to create the collection.

Type

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

Methods

Print(ExpressionPrinter)
Update(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