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
int0-based index of the source query within the compound query expression.
Selection
SqlSelectNodeSelection from the source query.
Expression
SqlExpressionNodeExpression 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
QueryIndex
0-based index of the source query within the compound query expression.
public int QueryIndex { get; init; }
Property Value
Selection
Selection from the source query.
public SqlSelectNode Selection { get; init; }