Skip to content

SqlQuery.LeftJoin method (1 of 2)

Adds a LEFT JOIN to the query

public SqlQuery LeftJoin(IAlias alias, ICriteria onCriteria)
parameter description
alias The alias.
onCriteria The on criteria.

Return Value

The query itself.

Exceptions

exception condition
ArgumentNullException alias is null or alias.table is null or empty.

See Also


SqlQuery.LeftJoin method (2 of 2)

Adds a LEFT JOIN to the query.

public SqlQuery LeftJoin(string toTable, IAlias alias, ICriteria onCriteria)
parameter description
toTable To table.
alias The alias.
onCriteria The on criteria.

Return Value

The query itself.

Exceptions

exception condition
ArgumentNullException alias is null or alias.table is null or empty

See Also