SelectQuery.AddRelation(Table, Table, String) Method

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public Join AddRelation(
    Table parent,
    Table nested,
    string keyColumn
)
Public Function AddRelation(
    parent As Table,
    nested As Table,
    keyColumn As String
) As Join

Parameters

Name Type Description
parent Table

A Table object, specifying the parent table.

nested Table

A Table object, specifying the nested table.

keyColumn String

A String value, specifying the key column name.

Returns

Type Description
Join

A Join object.

See Also