SelectQuery.AddRelation(Table, Table, JoinType, String) Method

OBSOLETE

This overload is obsolete now. Use AddRelation instead.

Creates a relation between two data tables using a specified join operation.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v21.2.dll

Declaration

[Obsolete("This overload is obsolete now. Use AddRelation(Table parent, Table nested, SqlJoinType joinType, string keyColumn) instead.")]
public Join AddRelation(
    Table parent,
    Table nested,
    JoinType joinType,
    string keyColumn
)

Parameters

Name Type Description
parent Table

A Table object, specifying the parent table.

nested Table

A Table object, specifying the nested table.

joinType JoinType

A JoinType enumeration value, specifying the data relation.

keyColumn String

A String value, specifying the key column name.

Returns

Type Description
Join

A Join object.

See Also