Table of Contents

Class CollectionResultShaperExpression

Namespace
MASES.EntityFrameworkCore.KNet.Query.Internal
Assembly
MASES.EntityFrameworkCore.KNet.dll

This is an internal API that supports the Entity Framework Core infrastructure and 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.

public class CollectionResultShaperExpression : Expression, IPrintableExpression
Inheritance
CollectionResultShaperExpression
Implements
Inherited Members

Constructors

CollectionResultShaperExpression(Expression, Expression, INavigationBase?, Type)

This is an internal API that supports the Entity Framework Core infrastructure and 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.

public CollectionResultShaperExpression(Expression projection, Expression innerShaper, INavigationBase? navigation, Type elementType)

Parameters

projection Expression
innerShaper Expression
navigation INavigationBase
elementType Type

Properties

ElementType

This is an internal API that supports the Entity Framework Core infrastructure and 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.

public virtual Type ElementType { get; }

Property Value

Type

InnerShaper

This is an internal API that supports the Entity Framework Core infrastructure and 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.

public virtual Expression InnerShaper { get; }

Property Value

Expression

Navigation

This is an internal API that supports the Entity Framework Core infrastructure and 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.

public virtual INavigationBase? Navigation { get; }

Property Value

INavigationBase

NodeType

Gets the node type of this Expression.

public override sealed ExpressionType NodeType { get; }

Property Value

ExpressionType

One of the ExpressionType values.

Projection

This is an internal API that supports the Entity Framework Core infrastructure and 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.

public virtual Expression Projection { get; }

Property Value

Expression

Type

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

public override Type Type { get; }

Property Value

Type

The Type that represents the static type of the expression.

Methods

Update(Expression, Expression)

This is an internal API that supports the Entity Framework Core infrastructure and 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.

public virtual CollectionResultShaperExpression Update(Expression projection, Expression innerShaper)

Parameters

projection Expression
innerShaper Expression

Returns

CollectionResultShaperExpression

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.

protected override Expression VisitChildren(ExpressionVisitor visitor)

Parameters

visitor ExpressionVisitor

An instance of Func<T, TResult>.

Returns

Expression

The expression being visited, or an expression which should replace it in the tree.