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

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public Join AddRelation(
    Table parent,
    Table nested,
    JoinType joinType,
    params RelationColumnInfo[] keyColumns
)
Public Function AddRelation(
    parent As Table,
    nested As Table,
    joinType As JoinType,
    ParamArray keyColumns As RelationColumnInfo()
) As Join

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.

keyColumns RelationColumnInfo[]

An array of RelationColumnInfo objects.

Returns

Type Description
Join

A Join object.

See Also