Skip to main content

SelectQuery.AddRelation(Table, Table, JoinType, RelationColumnInfo[]) Method


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.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap


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


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.

keyColumns RelationColumnInfo[]

An array of RelationColumnInfo objects.


Type Description

A Join object.

See Also