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

Creates a relation between two data tables using an inner join operation.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v21.1.dll

Declaration

public Join AddRelation(
    Table parent,
    Table nested,
    params RelationColumnInfo[] keyColumns
)

Parameters

Name Type Description
parent Table

A Table object, specifying the parent table.

nested Table

A Table object, specifying the nested table.

keyColumns RelationColumnInfo[]

An array of RelationColumnInfo objects.

Returns

Type Description
Join

A Join object.

See Also