Table of Contents

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

firstSelectItem ISelectItem

The column from the left table.

joinOperatorType JoinOperatorType

The comparison operator (=, >, <, etc.).

secondSelectItem ISelectItem

The 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

firstSelectItem ISelectItem

The column from the left table.

secondSelectItem ISelectItem

The 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.