Skip to content

SqlQuery.RightJoin method (1 of 2)

Adds a right join to the query.

public SqlQuery RightJoin(IAlias alias, ICriteria onCriteria)
parameter description
alias The alias with table name/alias name.
onCriteria The ON criteria.

Return Value

The query itself.

Exceptions

exception condition
ArgumentNullException alias is null.
ArgumentException alias has no table name.

See Also


SqlQuery.RightJoin method (2 of 2)

Adds a right join to the query.

public SqlQuery RightJoin(string toTable, IAlias alias, ICriteria onCriteria)
parameter description
toTable Right join to table.
alias The alias.
onCriteria The on criteria.

Return Value

SqlQuery itself.

Exceptions

exception condition
ArgumentNullException alias or toTable is null.
ArgumentException toTable is empty.

See Also