Table of Contents

Struct SqlSelectCompoundFieldNode.Origin

Namespace
LfrlAnvil.Sql.Expressions
Assembly
LfrlAnvil.Sql.Core.dll

Represents a selection from a single query that is a component of an SqlCompoundQueryExpressionNode.

public readonly record struct SqlSelectCompoundFieldNode.Origin : IEquatable<SqlSelectCompoundFieldNode.Origin>
Implements
Inherited Members

Constructors

Origin(int, SqlSelectNode, SqlExpressionNode?)

Represents a selection from a single query that is a component of an SqlCompoundQueryExpressionNode.

public Origin(int QueryIndex, SqlSelectNode Selection, SqlExpressionNode? Expression)

Parameters

QueryIndex int

0-based index of the source query within the compound query expression.

Selection SqlSelectNode

Selection from the source query.

Expression SqlExpressionNode

Expression associated with a data field from the Selection from the source query.

Properties

Expression

Expression associated with a data field from the Selection from the source query.

public SqlExpressionNode? Expression { get; init; }

Property Value

SqlExpressionNode

QueryIndex

0-based index of the source query within the compound query expression.

public int QueryIndex { get; init; }

Property Value

int

Selection

Selection from the source query.

public SqlSelectNode Selection { get; init; }

Property Value

SqlSelectNode