Skip to content

EntitySqlQueryExtensions.RightJoinVia<TFields> method

Adds a RIGHT JOIN to the row referenced by the foreign key field.

public static SqlQuery RightJoinVia<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