Table of Contents

Class AliasFromProjectionVisitor

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Derives column aliases from a projection expression.

public class AliasFromProjectionVisitor : ExpressionVisitor
Inheritance
AliasFromProjectionVisitor
Inherited Members
Extension Methods

Constructors

AliasFromProjectionVisitor()

Initializes a new instance of the AliasFromProjectionVisitor class.

public AliasFromProjectionVisitor()

Properties

Alias

The alias derived from the visited projection member, or null when none was found.

public string? Alias { get; }

Property Value

string

Methods

VisitMember(MemberExpression)

Visits the children of the MemberExpression.

protected override Expression VisitMember(MemberExpression node)

Parameters

node MemberExpression

The expression to visit.

Returns

Expression

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.