EntitySqlQueryExtensions.InnerJoinVia<TFields> method
Adds an INNER JOIN to the row referenced by the foreign key field.
public static SqlQuery InnerJoinVia<TFields>(this SqlQuery query, TFields fields,
Field foreignKeyField, out TFields aliased)
where TFields : RowFieldsBase
| parameter | description |
|---|---|
| TFields | The referenced row fields type. |
| query | The query. |
| fields | The referenced row fields, used to infer and validate the target type. |
| foreignKeyField | The foreign key field. |
| aliased | Receives the referenced fields with the alias used by this query. |
Return Value
The query itself.
See Also
- class SqlQuery
- class Field
- class RowFieldsBase
- class EntitySqlQueryExtensions