SqlQuery.LeftJoin method (1 of 2)
namespace: Serenity.Data assembly: Serenity.Net.Data
Adds a LEFT JOIN to the query
public SqlQuery LeftJoin(IAlias alias, ICriteria onCriteria)
| parameter | description |
|---|---|
| alias | The alias. |
| onCriteria | The on criteria. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | alias is null or alias.table is null or empty. |
See Also
SqlQuery.LeftJoin method (2 of 2)
namespace: Serenity.Data assembly: Serenity.Net.Data
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. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | alias is null or alias.table is null or empty |