EntitySqlQueryExtensions.LeftJoin<TFields> method
Adds a LEFT JOIN using fields aliased for this query and builds its ON criteria from those fields.
public static SqlQuery LeftJoin<TFields>(this SqlQuery query, TFields fields,
Func<TFields, ICriteria> onCriteria, out TFields aliased)
where TFields : RowFieldsBase
| parameter | description |
|---|---|
| TFields | The row fields type. |
| query | The query. |
| fields | The fields whose table is joined. |
| onCriteria | Creates the ON criteria from the fields with their query alias. |
| aliased | Receives the fields instance with the alias used by the join. |
Return Value
The query itself.
See Also
- class SqlQuery
- interface ICriteria
- class RowFieldsBase
- class EntitySqlQueryExtensions