Constructor JoinCondition
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
JoinCondition(ISelectItem, JoinOperatorType, ISelectItem)
Creates a new join condition with a specified comparison operator.
public JoinCondition(ISelectItem firstSelectItem, JoinOperatorType joinOperatorType, ISelectItem secondSelectItem)
Parameters
firstSelectItemISelectItemThe column from the left table.
joinOperatorTypeJoinOperatorTypeThe comparison operator (=, >, <, etc.).
secondSelectItemISelectItemThe column from the right table.
JoinCondition(ISelectItem, ISelectItem)
Creates a new join condition using equality comparison (most common).
public JoinCondition(ISelectItem firstSelectItem, ISelectItem secondSelectItem)
Parameters
firstSelectItemISelectItemThe column from the left table.
secondSelectItemISelectItemThe column from the right table.
Remarks
This is a convenience constructor that defaults to equality (=) comparison, which is used in the vast majority of JOIN operations.